Przeglądaj źródła

fix assert logic

Lee Thomason 3 dni temu
rodzic
commit
5ce9f9a3a7
1 zmienionych plików z 0 dodań i 2 usunięć
  1. 0 2
      tinyxml2.cpp

+ 0 - 2
tinyxml2.cpp

@@ -2358,8 +2358,6 @@ static FILE* callfopen( const char* filepath, const char* mode )
 }
 
 void XMLDocument::DeleteNode( XMLNode* node )	{   
-    TIXMLASSERT( node );
-    TIXMLASSERT(node->_document == this );
     if(node == 0) {
         return; // check for null pointer
     }