Ver código fonte

and the same fix in the test case

Lee Thomason 8 anos atrás
pai
commit
e2d02e1623
1 arquivos alterados com 1 adições e 1 exclusões
  1. 1 1
      xmltest.cpp

+ 1 - 1
xmltest.cpp

@@ -2036,7 +2036,7 @@ int main( int argc, const char ** argv )
 		for (int i=0; TESTS[i]; ++i) {
 			XMLDocument doc;
 			doc.LoadFile(TESTS[i]);
-			XMLTest("Stack overflow prevented.", XMLError::XML_ELEMENT_DEPTH_EXCEEDED, doc.ErrorID());
+			XMLTest("Stack overflow prevented.", XML_ELEMENT_DEPTH_EXCEEDED, doc.ErrorID());
 		}
 	}
 	{