Merge pull request #76 from Jerome7573/master

Moved COUNT from private to public,
This commit is contained in:
Lee Thomason 2012-10-24 10:20:38 -07:00
commit 687f90e843
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() );
}
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];