From 53858b449071d8826ee51d7340974a1083703f8f Mon Sep 17 00:00:00 2001 From: Lee Thomason Date: Thu, 1 Jun 2017 19:09:16 -0700 Subject: [PATCH] minor formatting fix and very strange memory tracker missing --- tinyxml2.h | 1 + xmltest.cpp | 1 + 2 files changed, 2 insertions(+) diff --git a/tinyxml2.h b/tinyxml2.h index 965b134..94c9c6f 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -2177,6 +2177,7 @@ public: void ClearBuffer() { _buffer.Clear(); _buffer.Push(0); + _firstElement = true; } protected: diff --git a/xmltest.cpp b/xmltest.cpp index 99171a3..f49f2e8 100644 --- a/xmltest.cpp +++ b/xmltest.cpp @@ -14,6 +14,7 @@ #define WIN32_LEAN_AND_MEAN #include _CrtMemState startMemState; + _CrtMemState endMemState; #endif using namespace tinyxml2;