diff options
Diffstat (limited to 'include')
-rw-r--r-- | include/pso/TObject.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/pso/TObject.h b/include/pso/TObject.h index 1478871..55e49ce 100644 --- a/include/pso/TObject.h +++ b/include/pso/TObject.h @@ -137,8 +137,8 @@ public: TObject(TObject *parent = NULL); virtual ~TObject(); - void *operator new (size_t size) { return alloc(size); }; - void operator delete(void *ptr) { free(ptr); }; + void *operator new (size_t size); + void operator delete(void *ptr); void delete_children(); void queue_destruction_for_each_node(); |