optionally use guarded alloc for tiles compositor, also replace allocation functions...
[blender.git] / source / gameengine / Converter / BL_SkinDeformer.h
index 8e3d58515735ee634d9259d8386baaeb5cac6310..48c3c3e6186cc90c4f42bafc9d110346e6024f9f 100644 (file)
@@ -116,9 +116,7 @@ protected:
 
 
 #ifdef WITH_CXX_GUARDEDALLOC
-public:
-       void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_SkinDeformer"); }
-       void operator delete( void *mem ) { MEM_freeN(mem); }
+       MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_SkinDeformer")
 #endif
 };