Game Display: properly delete copy ctor and assignment operator
This commit is contained in:
parent
28555f362f
commit
2ca1307318
1 changed files with 4 additions and 3 deletions
|
@ -37,6 +37,10 @@ public:
|
|||
const config& level);
|
||||
|
||||
~game_display();
|
||||
|
||||
game_display(const game_display&) = delete;
|
||||
game_display& operator=(const game_display&) = delete;
|
||||
|
||||
static game_display* get_singleton()
|
||||
{
|
||||
return static_cast<game_display*>(singleton_);
|
||||
|
@ -227,9 +231,6 @@ public:
|
|||
bool maybe_rebuild();
|
||||
|
||||
private:
|
||||
game_display(const game_display&);
|
||||
void operator=(const game_display&);
|
||||
|
||||
overlay_map overlay_map_;
|
||||
|
||||
// Locations of the attack direction indicator's parts
|
||||
|
|
Loading…
Add table
Reference in a new issue