]> git.lizzy.rs Git - dragonfireclient.git/blobdiff - src/objdef.h
Fix -Wterminate warnings in rollback.cpp as well
[dragonfireclient.git] / src / objdef.h
index 9e0c0b001786e3d4d49172f641f0e1bec8a96c24..77189e45470d9ecfb11f66f2e87fd086639c5050 100644 (file)
@@ -20,9 +20,8 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef OBJDEF_HEADER
 #define OBJDEF_HEADER
 
-#include <string>
-#include <vector>
-#include "irrlichttypes.h"
+#include "util/basic_macros.h"
+#include "porting.h"
 
 class IGameDef;
 class INodeDefManager;
@@ -92,6 +91,9 @@ class ObjDefManager {
        INodeDefManager *m_ndef;
        std::vector<ObjDef *> m_objects;
        ObjDefType m_objtype;
+
+private:
+       DISABLE_CLASS_COPY(ObjDefManager);
 };
 
 #endif