commit | 2c6a41a92e69cc54182401814d523b5a6db661de | [log] [tgz] |
---|---|---|
author | ngc92 <7938269+ngc92@users.noreply.github.com> | Thu Jul 30 23:51:30 2020 +0300 |
committer | ngc92 <7938269+ngc92@users.noreply.github.com> | Thu Jul 30 23:51:30 2020 +0300 |
tree | 8fa523034ee112310c448324640d3903c51985f9 | |
parent | 2c5a6bfdd42ab919e55a613d33c83eb53de71af4 [diff] [blame] |
removed overhead of clear error
diff --git a/tinyxml2.h b/tinyxml2.h index 003ef43..771332c 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -1873,9 +1873,8 @@ */ 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 {