optionally use guarded alloc for tiles compositor, also replace allocation functions...
[blender.git] / source / gameengine / Rasterizer / RAS_Deformer.h
index 1e9a792634ac2870d53a0fbbde9e45aa36f7e75f..627db2b63fb45675b9cc25901b2856359ca487be 100644 (file)
@@ -93,10 +93,9 @@ protected:
        class RAS_MeshObject    *m_pMesh;
        bool  m_bDynamic;       
 
+
 #ifdef WITH_CXX_GUARDEDALLOC
-public:
-       void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:RAS_Deformer"); }
-       void operator delete( void *mem ) { MEM_freeN(mem); }
+       MEM_CXX_CLASS_ALLOC_FUNCS("GE:RAS_Deformer")
 #endif
 };