make Map noncopyable

This commit is contained in:
Konstantin Käfer
2014-01-20 11:57:30 +01:00
parent 0922e71f98
commit 381daf9cae

View File

@@ -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);