optionally use guarded alloc for tiles compositor, also replace allocation functions...
[blender.git] / source / gameengine / Converter / KX_SoftBodyDeformer.h
index 5235c91ce891b5529dd36c3888252007959e167c..d692d45eb18e8f9405f4280934fd843813c0951b 100644 (file)
@@ -93,9 +93,7 @@ protected:
        //class RAS_MeshObject  *m_pMesh;
 
 #ifdef WITH_CXX_GUARDEDALLOC
-public:
-       void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:BL_ShapeDeformer"); }
-       void operator delete( void *mem ) { MEM_freeN(mem); }
+       MEM_CXX_CLASS_ALLOC_FUNCS("GE:BL_ShapeDeformer")
 #endif
 };