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