Merge pull request #827 from ngc92/ClearError

removed overhead of clear error
This commit is contained in:
Lee Thomason
2020-12-30 10:35:45 -08:00
committed by GitHub
2 changed files with 9 additions and 3 deletions

View File

@@ -1874,9 +1874,8 @@ public:
*/
void DeleteNode( XMLNode* node );
void ClearError() {
SetError(XML_SUCCESS, 0, 0);
}
/// Clears the error flags.
void ClearError();
/// Return true if there was an error parsing the document.
bool Error() const {