diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-03-06 17:28:59 +0100 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-03-06 17:28:59 +0100 |
commit | 62b8f0f553917bf2db467941b5a055e08872913f (patch) | |
tree | 9e012cf5c6b1e530bee4c02e2540c52e471cdf12 /src/rw | |
parent | Fix FPEs (diff) | |
download | re3-62b8f0f553917bf2db467941b5a055e08872913f.tar re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.gz re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.bz2 re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.lz re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.xz re3-62b8f0f553917bf2db467941b5a055e08872913f.tar.zst re3-62b8f0f553917bf2db467941b5a055e08872913f.zip |
Diffstat (limited to '')
-rw-r--r-- | src/rw/MemoryMgr.cpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/rw/MemoryMgr.cpp b/src/rw/MemoryMgr.cpp index 2379692c..b9cff043 100644 --- a/src/rw/MemoryMgr.cpp +++ b/src/rw/MemoryMgr.cpp @@ -28,10 +28,10 @@ RwMemoryFunctions memFuncs = { #ifdef USE_CUSTOM_ALLOCATOR // game seems to be using heap directly here, but this is nicer -void *operator new(size_t sz) { return MemoryMgrMalloc(sz); } -void *operator new[](size_t sz) { return MemoryMgrMalloc(sz); } -void operator delete(void *ptr) noexcept { MemoryMgrFree(ptr); } -void operator delete[](void *ptr) noexcept { MemoryMgrFree(ptr); } +void *operator new(size_t sz) throw() { return MemoryMgrMalloc(sz); } +void *operator new[](size_t sz) throw() { return MemoryMgrMalloc(sz); } +void operator delete(void *ptr) throw() { MemoryMgrFree(ptr); } +void operator delete[](void *ptr) throw() { MemoryMgrFree(ptr); } #endif void* |