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