optionally use guarded alloc for tiles compositor, also replace allocation functions...
[blender.git] / source / gameengine / Ketsji / KX_BulletPhysicsController.h
index 5fcd591d822efcab57e0b0ea24f1264dee4dc37a..71e806686ca36382793ad34ead90c71171bcb287 100644 (file)
@@ -92,9 +92,7 @@ public:
 
        
 #ifdef WITH_CXX_GUARDEDALLOC
-public:
-       void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:KX_BulletPhysicsController"); }
-       void operator delete( void *mem ) { MEM_freeN(mem); }
+       MEM_CXX_CLASS_ALLOC_FUNCS("GE:KX_BulletPhysicsController")
 #endif
 };