* 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:
Axel Dörfler 2008-02-28 00:25:16 +00:00
parent a4de7fa0fa
commit d863e59794

View File

@ -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];