mirror of
https://github.com/AxioDL/tinyxml2.git
synced 2025-05-14 19:31:23 +00:00
rename Reset to Clear to be consistent with XMLDocument
This commit is contained in:
parent
3bc3d4e24c
commit
ce0510ba2d
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
x
Reference in New Issue
Block a user