mirror of https://github.com/AxioDL/tinyxml2.git
Merge remote-tracking branch 'origin/master' into Dmitry-Me-properStrPairAssignment
This commit is contained in:
commit
03494b189c
|
@ -1869,6 +1869,7 @@ void XMLDocument::Print( XMLPrinter* streamer ) const
|
||||||
|
|
||||||
void XMLDocument::SetError( XMLError error, const char* str1, const char* str2 )
|
void XMLDocument::SetError( XMLError error, const char* str1, const char* str2 )
|
||||||
{
|
{
|
||||||
|
TIXMLASSERT( error >= 0 && error < XML_ERROR_COUNT );
|
||||||
_errorID = error;
|
_errorID = error;
|
||||||
_errorStr1 = str1;
|
_errorStr1 = str1;
|
||||||
_errorStr2 = str2;
|
_errorStr2 = str2;
|
||||||
|
|
|
@ -496,7 +496,7 @@ public:
|
||||||
}
|
}
|
||||||
};
|
};
|
||||||
|
|
||||||
// WARNING: must match XMLErrorNames[]
|
// WARNING: must match XMLDocument::_errorNames[]
|
||||||
enum XMLError {
|
enum XMLError {
|
||||||
XML_SUCCESS = 0,
|
XML_SUCCESS = 0,
|
||||||
XML_NO_ERROR = 0,
|
XML_NO_ERROR = 0,
|
||||||
|
|
Loading…
Reference in New Issue