Moved COUNT from private to public

This commit is contained in:
Jerome Martinez 2012-10-24 11:45:44 +02:00
parent 856da21652
commit 7921df1b47
1 changed files with 2 additions and 1 deletions

View File

@ -349,8 +349,9 @@ public:
name, _maxAllocs, _maxAllocs*SIZE/1024, _currentAllocs, SIZE, _nAllocs, _blockPtrs.Size() ); 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: private:
enum { COUNT = 1024/SIZE };
union Chunk { union Chunk {
Chunk* next; Chunk* next;
char mem[SIZE]; char mem[SIZE];