Ver Fonte

minor formatting fix and very strange memory tracker missing

Lee Thomason há 8 anos atrás
pai
commit
53858b4490
2 ficheiros alterados com 2 adições e 0 exclusões
  1. 1 0
      tinyxml2.h
  2. 1 0
      xmltest.cpp

+ 1 - 0
tinyxml2.h

@@ -2177,6 +2177,7 @@ public:
     void ClearBuffer() {
         _buffer.Clear();
         _buffer.Push(0);
+		_firstElement = true;
     }
 
 protected:

+ 1 - 0
xmltest.cpp

@@ -14,6 +14,7 @@
 	#define WIN32_LEAN_AND_MEAN
 	#include <windows.h>
 	_CrtMemState startMemState;
+	_CrtMemState endMemState;
 #endif
 
 using namespace tinyxml2;