optionally use guarded alloc for tiles compositor, also replace allocation functions...
[blender.git] / source / gameengine / GameLogic / SCA_IActuator.h
index 211a25b84c88db049579404115c6f10195e970ce..801483bb88224606f23e2c620346101060e9f3d4 100644 (file)
@@ -160,9 +160,7 @@ public:
        bool IsType(KX_ACTUATOR_TYPE type) { return m_type == type; }
        
 #ifdef WITH_CXX_GUARDEDALLOC
-public:
-       void *operator new(size_t num_bytes) { return MEM_mallocN(num_bytes, "GE:SCA_IActuator"); }
-       void operator delete( void *mem ) { MEM_freeN(mem); }
+       MEM_CXX_CLASS_ALLOC_FUNCS("GE:SCA_IActuator")
 #endif
 };