From ce0510ba2db899c1e4157b6a35dd70710de6bfda Mon Sep 17 00:00:00 2001 From: Lee Thomason Date: Tue, 26 Nov 2013 21:29:37 -0800 Subject: [PATCH] rename Reset to Clear to be consistent with XMLDocument --- tinyxml2.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/tinyxml2.h b/tinyxml2.h index edfae82..fa4eeb5 100755 --- a/tinyxml2.h +++ b/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); }