From da4e3c6509fa6e00f5bbcb3a34607dd966650d1a Mon Sep 17 00:00:00 2001 From: Paweł Redman Date: Sat, 16 Dec 2017 19:23:01 +0100 Subject: Clean up the virtual dtor mess. --- src/game/game.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/game/game.hpp') diff --git a/src/game/game.hpp b/src/game/game.hpp index b9a426b..04380be 100644 --- a/src/game/game.hpp +++ b/src/game/game.hpp @@ -62,7 +62,7 @@ namespace game { rectf_t size, render_size; entity_t(game::state_t *game, int type_); - ~entity_t(void) {}; + virtual ~entity_t(void) = 0; void destroy(void); void place(world::world_t *world); -- cgit