Explorar el Código

add an extra assert

Lee Thomason hace 11 años
padre
commit
20806ce4e4
Se han modificado 1 ficheros con 1 adiciones y 0 borrados
  1. 1 0
      tinyxml2.h

+ 1 - 0
tinyxml2.h

@@ -533,6 +533,7 @@ class XMLUtil
 {
 public:
     static const char* SkipWhiteSpace( const char* p )	{
+		TIXMLASSERT(p);
         while( IsWhiteSpace(*p) ) {
             ++p;
         }