浏览代码

rename Reset to Clear to be consistent with XMLDocument

Lee Thomason 12 年之前
父节点
当前提交
ce0510ba2d
共有 1 个文件被更改,包括 3 次插入3 次删除
  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);
     }