commit | 7921df1b47cfbc9cb4379915da7391d9dcb50765 | [log] [tgz] |
---|---|---|
author | Jerome Martinez <jerome@mediaarea.net> | Wed Oct 24 11:45:44 2012 +0200 |
committer | Jerome Martinez <jerome@mediaarea.net> | Wed Oct 24 11:45:44 2012 +0200 |
tree | 6bdf01ac791cafba3edfa02f556f6569cbae367d | |
parent | 856da2165248c369aa5c8846eacf4f31404aad20 [diff] |
Moved COUNT from private to public
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];