* Fixed a warning when compiled with HEAP_DEBUG turned on.
git-svn-id: file:///srv/svn/repos/haiku/haiku/trunk@24161 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
parent
a4de7fa0fa
commit
d863e59794
@ -178,13 +178,6 @@ class hoardHeap {
|
||||
|
||||
//// Members ////
|
||||
|
||||
#if HEAP_DEBUG
|
||||
// For sanity checking.
|
||||
const unsigned long _magic;
|
||||
#else
|
||||
# define _magic HEAP_MAGIC
|
||||
#endif
|
||||
|
||||
// Heap statistics.
|
||||
heapStats _stats[SIZE_CLASSES];
|
||||
|
||||
@ -204,6 +197,13 @@ class hoardHeap {
|
||||
// The current least-empty superblock bin.
|
||||
int _leastEmptyBin[SIZE_CLASSES];
|
||||
|
||||
#if HEAP_DEBUG
|
||||
// For sanity checking.
|
||||
const unsigned long _magic;
|
||||
#else
|
||||
# define _magic HEAP_MAGIC
|
||||
#endif
|
||||
|
||||
// The lookup table for size classes.
|
||||
static size_t _sizeTable[SIZE_CLASSES];
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user