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
+1 -3
View File
@@ -6,8 +6,6 @@
#include <cstring>
#include <cctype>
#include <string>
#include "JSystem/JKernel/JKRHeap.h"
#include "global.h"
JKRFileLoader* JKRFileLoader::sCurrentVolume;
@@ -25,7 +23,7 @@ JKRFileLoader::~JKRFileLoader() {
void JKRFileLoader::unmount(void) {
if (mMountCount != 0) {
if (--mMountCount == 0) {
JKR_DELETE(this);
delete this;
}
}
}