Просмотр исходного кода

minor formatting fix and very strange memory tracker missing

Lee Thomason 8 лет назад
Родитель
Сommit
53858b4490
2 измененных файлов с 2 добавлено и 0 удалено
  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;