Game Display: properly delete copy ctor and assignment operator

This commit is contained in:
Charles Dang 2024-08-30 16:19:04 -04:00
parent 28555f362f
commit 2ca1307318

View file

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