summaryrefslogtreecommitdiffstats
path: root/src/entities
diff options
context:
space:
mode:
authorerorcun <erorcunerorcun@hotmail.com.tr>2021-06-25 23:27:12 +0200
committererorcun <erorcunerorcun@hotmail.com.tr>2021-06-25 23:27:20 +0200
commit9b5caa190e30131e361e77e0921653d13f5d124f (patch)
treeb2e1ca16ed14d268e546c0e07db87743b2bb6f17 /src/entities
parentRevert "Redo ReadSaveBuf + common.h cleanup" (diff)
downloadre3-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/entities')
-rw-r--r--src/entities/Dummy.cpp4
-rw-r--r--src/entities/Dummy.h4
2 files changed, 4 insertions, 4 deletions
diff --git a/src/entities/Dummy.cpp b/src/entities/Dummy.cpp
index 8a4bfd5f..d5fad3e4 100644
--- a/src/entities/Dummy.cpp
+++ b/src/entities/Dummy.cpp
@@ -4,8 +4,8 @@
#include "World.h"
#include "Dummy.h"
-void *CDummy::operator new(size_t sz) { return CPools::GetDummyPool()->New(); }
-void CDummy::operator delete(void *p, size_t sz) { CPools::GetDummyPool()->Delete((CDummy*)p); }
+void *CDummy::operator new(size_t sz) throw() { return CPools::GetDummyPool()->New(); }
+void CDummy::operator delete(void *p, size_t sz) throw() { CPools::GetDummyPool()->Delete((CDummy*)p); }
void
CDummy::Add(void)
diff --git a/src/entities/Dummy.h b/src/entities/Dummy.h
index 3717a01c..6c3f12ea 100644
--- a/src/entities/Dummy.h
+++ b/src/entities/Dummy.h
@@ -12,8 +12,8 @@ public:
void Add(void);
void Remove(void);
- static void *operator new(size_t);
- static void operator delete(void*, size_t);
+ static void *operator new(size_t) throw();
+ static void operator delete(void*, size_t) throw();
};
VALIDATE_SIZE(CDummy, 0x68);