optionally use guarded alloc for tiles compositor, also replace allocation functions...
[blender.git] / source / gameengine / Expressions / Operator1Expr.h
index 9815ce16e9549f721ca490cf87436b2570533e9f..13a1b16500a08a8c2497d29e3b260b009e5a79ca 100644 (file)
@@ -52,9 +52,7 @@ private:
 
 
 #ifdef WITH_CXX_GUARDEDALLOC
-public:
-       void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:COperator1Expr"); }
-       void operator delete( void *mem ) { MEM_freeN(mem); }
+       MEM_CXX_CLASS_ALLOC_FUNCS("GE:")
 #endif
 };