Merge pull request #407 from JarleStrand/fix-deletechild

Error fix DeleteChild
This commit is contained in:
Lee Thomason 2016-01-04 07:40:22 -08:00
commit 9ff6654174
1 changed files with 1 additions and 0 deletions

View File

@ -776,6 +776,7 @@ void XMLNode::DeleteChild( XMLNode* node )
TIXMLASSERT( node );
TIXMLASSERT( node->_document == _document );
TIXMLASSERT( node->_parent == this );
Unlink( node );
DeleteNode( node );
}