summaryrefslogtreecommitdiffstats
path: root/src/buildings/Building.cpp
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/buildings/Building.cpp
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/buildings/Building.cpp')
-rw-r--r--src/buildings/Building.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/buildings/Building.cpp b/src/buildings/Building.cpp
index 00bbb21e..e4475ae6 100644
--- a/src/buildings/Building.cpp
+++ b/src/buildings/Building.cpp
@@ -4,8 +4,8 @@
#include "Streaming.h"
#include "Pools.h"
-void *CBuilding::operator new(size_t sz) { return CPools::GetBuildingPool()->New(); }
-void CBuilding::operator delete(void *p, size_t sz) { CPools::GetBuildingPool()->Delete((CBuilding*)p); }
+void *CBuilding::operator new(size_t sz) throw() { return CPools::GetBuildingPool()->New(); }
+void CBuilding::operator delete(void *p, size_t sz) throw() { CPools::GetBuildingPool()->Delete((CBuilding*)p); }
void
CBuilding::ReplaceWithNewModel(int32 id)