summaryrefslogtreecommitdiff
path: root/docs/samples/save_subtree.cpp
diff options
context:
space:
mode:
authorArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-01-29 20:54:48 -0800
committerArseny Kapoulkine <arseny.kapoulkine@gmail.com>2017-01-29 21:09:12 -0800
commitbd8e2d782eca41886d871ea511ff72ad27fa2cb0 (patch)
treea43cdd2dca470f0299ed6b6a165865cf485d208f /docs/samples/save_subtree.cpp
parent293fccf3b017225e6e6de0675e9fda0dccbf9c01 (diff)
XPath: Forward all node constructors through alloc_node
This allows us to handle OOM during node allocation without triggering undefined behavior that occurs when placement new gets a NULL pointer.
Diffstat (limited to 'docs/samples/save_subtree.cpp')
0 files changed, 0 insertions, 0 deletions