commit | ce0510ba2db899c1e4157b6a35dd70710de6bfda | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Tue Nov 26 21:29:37 2013 -0800 |
committer | Lee Thomason <leethomason@gmail.com> | Tue Nov 26 21:29:37 2013 -0800 |
tree | fc41dd184b7ffe97fd2e0e342278ac662bbbf5ef | |
parent | 3bc3d4e24c35a4c5431be9c8d7610a1e5230bdd0 [diff] [blame] |
rename Reset to Clear to be consistent with XMLDocument
diff --git a/tinyxml2.h b/tinyxml2.h index edfae82..fa4eeb5 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -216,7 +216,7 @@ } } - void Reset() { + void Clear() { _size = 0; } @@ -1970,8 +1970,8 @@ If in print to memory mode, reset the buffer to the beginning. */ - void ResetBuffer() { - _buffer.Reset(); + void ClearBuffer() { + _buffer.Clear(); _buffer.Push(0); }