diff options
author | Xiaohong Bao <bao@lindenlab.com> | 2011-05-10 21:02:20 -0600 |
---|---|---|
committer | Xiaohong Bao <bao@lindenlab.com> | 2011-05-10 21:02:20 -0600 |
commit | b594d3b04d3095f15750436910debdd5a602a872 (patch) | |
tree | b8c4456373a93d06d5dabc80416170bda1ad71b1 /indra/llimage/llimage.h | |
parent | 1213e5d3548a111a39b6556c6178fc4bc655d367 (diff) |
add debug mode to track the memory allocation/deallocation.
Diffstat (limited to 'indra/llimage/llimage.h')
-rw-r--r-- | indra/llimage/llimage.h | 3 |
1 files changed, 1 insertions, 2 deletions
diff --git a/indra/llimage/llimage.h b/indra/llimage/llimage.h index ab20ccda9e..10621623ad 100644 --- a/indra/llimage/llimage.h +++ b/indra/llimage/llimage.h @@ -140,8 +140,7 @@ public: static void createPrivatePool() ; static void destroyPrivatePool() ; - static char* allocateMemory(S32 size) ; - static void deleteMemory(void* p) ; + static LLPrivateMemoryPool* getPrivatePool() {return sPrivatePoolp;} private: U8 *mData; |