summaryrefslogtreecommitdiff
path: root/include/pso
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-07 12:55:12 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-07 12:55:12 -0400
commit09ceed4fa79d2c5179060fc21ff39453705b80e6 (patch)
tree4fe95eef14d244d7e72b27c936d206d7dd189336 /include/pso
parentf43a121411e5b956c54aa784d7a252cee5469b1d (diff)
TObject: Replace `alloc()`, and `free()` with `operator {new,delete}`
Diffstat (limited to 'include/pso')
-rw-r--r--include/pso/TObject.h4
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();