pugixml/src
Arseny Kapoulkine 8cece4b9fe Fix a bug in move construction when move source is empty
Previously when copying the allocator state we would copy an incorrect
root pointer into the document's current state; while this had a minimal
impact on the allocation state due to the fact that any new allocation
would need to create a new page, this used a potentially stale field of
the moved document when setting up new pages, which could create issues
in future uses of the pages.

This change fixes the core problem and also removes the use of the
_root->allocator from allocate_page since it's not clear why we need it
there in the first place.
2021-05-11 22:53:54 -07:00
..
pugiconfig.hpp Update copyright year to 2020 everywhere 2020-11-26 01:00:27 -08:00
pugixml.cpp Fix a bug in move construction when move source is empty 2021-05-11 22:53:54 -07:00
pugixml.hpp add empty method 2021-04-27 13:55:02 -07:00