فهرست منبع

minor formatting fix and very strange memory tracker missing

Lee Thomason 8 سال پیش
والد
کامیت
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;