From 7921df1b47cfbc9cb4379915da7391d9dcb50765 Mon Sep 17 00:00:00 2001 From: Jerome Martinez Date: Wed, 24 Oct 2012 11:45:44 +0200 Subject: [PATCH] Moved COUNT from private to public --- tinyxml2.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) diff --git a/tinyxml2.h b/tinyxml2.h index 92e2b57..071dbbe 100755 --- a/tinyxml2.h +++ b/tinyxml2.h @@ -349,8 +349,9 @@ public: name, _maxAllocs, _maxAllocs*SIZE/1024, _currentAllocs, SIZE, _nAllocs, _blockPtrs.Size() ); } + enum { COUNT = 1024/SIZE }; // Some compilers do not accept to use COUNT in private part if COUNT is private + private: - enum { COUNT = 1024/SIZE }; union Chunk { Chunk* next; char mem[SIZE];