fix compiler inconsistency

This commit is contained in:
Lee Thomason
2018-04-05 15:53:14 -07:00
parent f928c35186
commit befc3c3ae7

View File

@@ -2388,7 +2388,7 @@ void XMLDocument::PushDepth()
{ {
_parsingDepth++; _parsingDepth++;
if (_parsingDepth == TINYXML2_MAX_ELEMENT_DEPTH) { if (_parsingDepth == TINYXML2_MAX_ELEMENT_DEPTH) {
SetError(XMLError::XML_ELEMENT_DEPTH_EXCEEDED, _parseCurLineNum, "Element nesting is too deep." ); SetError(XML_ELEMENT_DEPTH_EXCEEDED, _parseCurLineNum, "Element nesting is too deep." );
} }
} }