summaryrefslogtreecommitdiff
path: root/tests/test_xpath_paths.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-01-30 22:10:13 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-01-30 22:10:13 -0800
commitc370d1190d3c1ac5ea59f0824db500f32a8594bd (patch)
treebeec0734f8ed616b74351319ba715131a860dc88 /tests/test_xpath_paths.cpp
parent1a2e4b88ee091613d2978fb2d23ce146416d3413 (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_paths.cpp')
0 files changed, 0 insertions, 0 deletions