Explorar o código

rename Reset to Clear to be consistent with XMLDocument

Lee Thomason %!s(int64=12) %!d(string=hai) anos
pai
achega
ce0510ba2d
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  1. 3 3
      tinyxml2.h

+ 3 - 3
tinyxml2.h

@@ -216,7 +216,7 @@ public:
         }
     }
 
-    void Reset() {
+    void Clear() {
         _size = 0;
     }
 
@@ -1970,8 +1970,8 @@ public:
     	If in print to memory mode, reset the buffer to the
     	beginning.
     */
-    void ResetBuffer() {
-        _buffer.Reset();
+    void ClearBuffer() {
+        _buffer.Clear();
         _buffer.Push(0);
     }