From 381daf9cae1013ad38a0094447de6fc34432ebaf Mon Sep 17 00:00:00 2001 From: =?UTF-8?q?Konstantin=20Ka=CC=88fer?= Date: Mon, 20 Jan 2014 11:57:30 +0100 Subject: [PATCH] make Map noncopyable --- include/llmr/map/map.hpp | 7 +++++++ 1 file changed, 7 insertions(+) diff --git a/include/llmr/map/map.hpp b/include/llmr/map/map.hpp index 95bf42bd2..21f1d170c 100644 --- a/include/llmr/map/map.hpp +++ b/include/llmr/map/map.hpp @@ -16,6 +16,13 @@ public: Map(Settings& settings); ~Map(); + + // Make noncopyable + Map(const Map&) = delete; + Map(const Map&&) = delete; + Map &operator=(const Map&) = delete; + Map &operator=(const Map&&) = delete; + void setup(); void loadSettings(); void resize(uint32_t width, uint32_t height);