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