Modernize client code (#6250)
[oweals/minetest.git] / src / objdef.h
index 65e5c0176fe1ffb02c719488d155b92bbeddd70a..1b96fa52a473f8270ea73fff9969e2229ff5dca0 100644 (file)
@@ -20,6 +20,7 @@ with this program; if not, write to the Free Software Foundation, Inc.,
 #ifndef OBJDEF_HEADER
 #define OBJDEF_HEADER
 
+#include "util/basic_macros.h"
 #include "porting.h"
 
 class IGameDef;
@@ -58,6 +59,7 @@ class ObjDefManager {
 public:
        ObjDefManager(IGameDef *gamedef, ObjDefType type);
        virtual ~ObjDefManager();
+       DISABLE_CLASS_COPY(ObjDefManager);
 
        virtual const char *getObjectTitle() const { return "ObjDef"; }