commit | 67abded7f7099286c5ac6b37c1d11b4b2ba6d281 | [log] [tgz] |
---|---|---|
author | Lee Thomason <leethomason@gmail.com> | Thu Oct 25 16:12:48 2012 -0700 |
committer | Lee Thomason <leethomason@gmail.com> | Thu Oct 25 16:12:48 2012 -0700 |
tree | 2536d7fee49fc5ec601766612d203eb36099e265 | |
parent | ae9ab0741e9e6423a06c8e05f8d450de4330f368 [diff] | |
parent | 687f90e843cac38b8ccdf130b1ef78cae66962d8 [diff] |
Merge branch 'master' of https://github.com/leethomason/tinyxml2
diff --git a/tinyxml2.h b/tinyxml2.h index 92e2b57..071dbbe 100755 --- a/tinyxml2.h +++ b/tinyxml2.h
@@ -349,8 +349,9 @@ 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];