Revert "Isolate JKRHeap operator overloads" (#39)

This commit is contained in:
TakaRikka
2026-03-06 19:49:35 -08:00
committed by GitHub
parent b7c482fb87
commit 78d4169929
630 changed files with 3349 additions and 3452 deletions
+3 -3
View File
@@ -20,7 +20,7 @@ void Z2SoundHandles::deleteHandlesPool() {
JUT_ASSERT(48, handle->getSupervisor() == this);
remove(handle);
JKR_DELETE(handle);
delete handle;
}
handleNum_ = 0;
@@ -64,7 +64,7 @@ Z2SoundHandlePool* Z2SoundHandles::getFreeHandle() {
}
if (getNumHandles() < handleNum_) {
Z2SoundHandlePool* handle = JKR_NEW Z2SoundHandlePool();
Z2SoundHandlePool* handle = new Z2SoundHandlePool();
if (handle != NULL) {
append(handle);
JUT_ASSERT(113, handle->getSupervisor() == this);
@@ -141,7 +141,7 @@ void Z2SoundHandles::setPos(const JGeometry::TVec3<f32>& pos) {
}
else {
remove(handle);
JKR_DELETE(handle);
delete handle;
}
}
}