瀏覽代碼

minor formatting fix and very strange memory tracker missing

Lee Thomason 9 年之前
父節點
當前提交
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;