summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormrb0nk500 <b0nk@b0nk.xyz>2023-03-07 13:34:18 -0400
committermrb0nk500 <b0nk@b0nk.xyz>2023-03-07 13:34:18 -0400
commit5df9bdde16d30a8bfe520e178c5810a7163e9d6c (patch)
treea2f7ff6cacdfffb9c3e6bc9120c8458646027300 /src
parent09ceed4fa79d2c5179060fc21ff39453705b80e6 (diff)
THeap: Replace `heap_x{malloc,free}` with `operator {new,delete}`
Diffstat (limited to 'src')
-rw-r--r--src/pso/THeap.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/pso/THeap.cpp b/src/pso/THeap.cpp
index 5af77d1..3a6552d 100644
--- a/src/pso/THeap.cpp
+++ b/src/pso/THeap.cpp
@@ -6,11 +6,11 @@
THeap *obj_heap;
THeap *alt_heap;
-void heap_xfree(void *ptr) {
+void THeap::operator delete(void *ptr) {
}
-void *heap_xmalloc(size_t size) {
+void *THeap::operator new(size_t size) {
return NULL;
}