summaryrefslogtreecommitdiff
path: root/src/pso
diff options
context:
space:
mode:
Diffstat (limited to 'src/pso')
-rw-r--r--src/pso/TObject.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pso/TObject.cpp b/src/pso/TObject.cpp
index d065518..ed56035 100644
--- a/src/pso/TObject.cpp
+++ b/src/pso/TObject.cpp
@@ -32,11 +32,11 @@ bool TObject::toggle_flag_9_if_flag_10_is_clear() {
}
}
-void TObject::free(void *ptr) {
+void TObject::operator delete(void *ptr) {
obj_heap->heap_free(ptr);
}
-void *TObject::alloc(size_t size) {
+void *TObject::operator new(size_t size) {
return obj_heap->heap_alloc(size);
}