diff options
author | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-01-30 22:10:13 -0800 |
---|---|---|
committer | Arseny Kapoulkine <arseny.kapoulkine@gmail.com> | 2017-01-30 22:10:13 -0800 |
commit | c370d1190d3c1ac5ea59f0824db500f32a8594bd (patch) | |
tree | beec0734f8ed616b74351319ba715131a860dc88 /tests/test_xpath.cpp | |
parent | 1a2e4b88ee091613d2978fb2d23ce146416d3413 (diff) |
XPath: Fix reallocate_nothrow to preserve existing state
Instead of rolling back the allocation and trying to allocate again,
explicitly handle inplace reallocate if possible, and allocate a new
block otherwise.
This is going to be important once we use reallocate_nothrow from a
non-throwing context.
Diffstat (limited to 'tests/test_xpath.cpp')
0 files changed, 0 insertions, 0 deletions