mirror of https://github.com/AxioDL/tinyxml2.git
Moved COUNT from private to public
This commit is contained in:
parent
856da21652
commit
7921df1b47
|
@ -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];
|
||||||
|
|
Loading…
Reference in New Issue