mirror of https://github.com/AxioDL/tinyxml2.git
Merge pull request #407 from JarleStrand/fix-deletechild
Error fix DeleteChild
This commit is contained in:
commit
9ff6654174
|
@ -776,6 +776,7 @@ void XMLNode::DeleteChild( XMLNode* node )
|
|||
TIXMLASSERT( node );
|
||||
TIXMLASSERT( node->_document == _document );
|
||||
TIXMLASSERT( node->_parent == this );
|
||||
Unlink( node );
|
||||
DeleteNode( node );
|
||||
}
|
||||
|
||||
|
|
Loading…
Reference in New Issue