diff options
author | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-06-25 23:27:12 +0200 |
---|---|---|
committer | erorcun <erorcunerorcun@hotmail.com.tr> | 2021-06-25 23:27:20 +0200 |
commit | 9b5caa190e30131e361e77e0921653d13f5d124f (patch) | |
tree | b2e1ca16ed14d268e546c0e07db87743b2bb6f17 /src/audio | |
parent | Revert "Redo ReadSaveBuf + common.h cleanup" (diff) | |
download | re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.gz re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.bz2 re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.lz re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.xz re3-9b5caa190e30131e361e77e0921653d13f5d124f.tar.zst re3-9b5caa190e30131e361e77e0921653d13f5d124f.zip |
Diffstat (limited to 'src/audio')
-rw-r--r-- | src/audio/AudioScriptObject.cpp | 8 | ||||
-rw-r--r-- | src/audio/AudioScriptObject.h | 8 |
2 files changed, 8 insertions, 8 deletions
diff --git a/src/audio/AudioScriptObject.cpp b/src/audio/AudioScriptObject.cpp index ac30f757..c74feb92 100644 --- a/src/audio/AudioScriptObject.cpp +++ b/src/audio/AudioScriptObject.cpp @@ -23,25 +23,25 @@ cAudioScriptObject::Reset() } void * -cAudioScriptObject::operator new(size_t sz) +cAudioScriptObject::operator new(size_t sz) throw() { return CPools::GetAudioScriptObjectPool()->New(); } void * -cAudioScriptObject::operator new(size_t sz, int handle) +cAudioScriptObject::operator new(size_t sz, int handle) throw() { return CPools::GetAudioScriptObjectPool()->New(handle); } void -cAudioScriptObject::operator delete(void *p, size_t sz) +cAudioScriptObject::operator delete(void *p, size_t sz) throw() { CPools::GetAudioScriptObjectPool()->Delete((cAudioScriptObject *)p); } void -cAudioScriptObject::operator delete(void *p, int handle) +cAudioScriptObject::operator delete(void *p, int handle) throw() { CPools::GetAudioScriptObjectPool()->Delete((cAudioScriptObject *)p); } diff --git a/src/audio/AudioScriptObject.h b/src/audio/AudioScriptObject.h index 8110b2bb..b9a7e61b 100644 --- a/src/audio/AudioScriptObject.h +++ b/src/audio/AudioScriptObject.h @@ -12,10 +12,10 @@ public: void Reset(); /// ok - static void* operator new(size_t); - static void* operator new(size_t, int); - static void operator delete(void*, size_t); - static void operator delete(void*, int); + static void* operator new(size_t) throw(); + static void* operator new(size_t, int) throw(); + static void operator delete(void*, size_t) throw(); + static void operator delete(void*, int) throw(); static void LoadAllAudioScriptObjects(uint8 *buf, uint32 size); static void SaveAllAudioScriptObjects(uint8 *buf, uint32 *size); |