diff options
Diffstat (limited to 'indra/newview/lldrawable.h')
-rwxr-xr-x | indra/newview/lldrawable.h | 10 |
1 files changed, 10 insertions, 0 deletions
diff --git a/indra/newview/lldrawable.h b/indra/newview/lldrawable.h index 244b87b2e7..9a66490b03 100755 --- a/indra/newview/lldrawable.h +++ b/indra/newview/lldrawable.h @@ -76,6 +76,16 @@ public: static void initClass(); + void* operator new(size_t size) + { + return ll_aligned_malloc_16(size); + } + + void operator delete(void* ptr) + { + ll_aligned_free_16(ptr); + } + LLDrawable() { init(); } MEM_TYPE_NEW(LLMemType::MTYPE_DRAWABLE); |