summaryrefslogtreecommitdiff
path: root/src/objects
diff options
context:
space:
mode:
authoraap <aap@papnet.eu>2020-03-28 09:37:04 +0100
committeraap <aap@papnet.eu>2020-03-28 09:37:04 +0100
commit739e80614db70f726c47180173ba19688bec5167 (patch)
tree83575bbe72328798dd21289de0a869e7024c69ae /src/objects
parent6a14457614e2d44d7e15b93b4b4b3efbb6c1a9e8 (diff)
remove include <new> from common.h
Diffstat (limited to 'src/objects')
-rw-r--r--src/objects/DummyObject.cpp2
-rw-r--r--src/objects/Object.cpp2
-rw-r--r--src/objects/Projectile.cpp2
3 files changed, 6 insertions, 0 deletions
diff --git a/src/objects/DummyObject.cpp b/src/objects/DummyObject.cpp
index 9649cf7a..ba09ac3e 100644
--- a/src/objects/DummyObject.cpp
+++ b/src/objects/DummyObject.cpp
@@ -12,6 +12,8 @@ CDummyObject::CDummyObject(CObject *obj)
m_level = obj->m_level;
}
+#include <new>
+
class CDummyObject_ : public CDummyObject
{
public:
diff --git a/src/objects/Object.cpp b/src/objects/Object.cpp
index 357d67d7..809ba971 100644
--- a/src/objects/Object.cpp
+++ b/src/objects/Object.cpp
@@ -141,6 +141,8 @@ CObject::CanBeDeleted(void)
}
}
+#include <new>
+
class CObject_ : public CObject
{
public:
diff --git a/src/objects/Projectile.cpp b/src/objects/Projectile.cpp
index 0f6542e7..32bc6bdb 100644
--- a/src/objects/Projectile.cpp
+++ b/src/objects/Projectile.cpp
@@ -14,6 +14,8 @@ CProjectile::CProjectile(int32 model) : CObject()
ObjectCreatedBy = MISSION_OBJECT;
}
+#include <new>
+
class CProjectile_ : public CProjectile
{
public: