mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-12-17 17:05:28 +00:00
Unlinked nodes assertions
This commit is contained in:
@@ -1994,6 +1994,7 @@ XMLDocument::~XMLDocument()
|
||||
|
||||
void XMLDocument::MarkInUse(XMLNode* node)
|
||||
{
|
||||
TIXMLASSERT(node);
|
||||
TIXMLASSERT(node->_parent == 0);
|
||||
|
||||
for (int i = 0; i < _unlinked.Size(); ++i) {
|
||||
|
||||
Reference in New Issue
Block a user