Explorar o código

and the same fix in the test case

Lee Thomason %!s(int64=8) %!d(string=hai) anos
pai
achega
e2d02e1623
Modificáronse 1 ficheiros con 1 adicións e 1 borrados
  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());
 		}
 	}
 	{