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/common.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/common.hpp') diff --git a/src/common.hpp b/src/common.hpp index eaed590..5a9dccc 100644 --- a/src/common.hpp +++ b/src/common.hpp @@ -145,7 +145,7 @@ namespace world { int render_layer = 0; entity_t(int type_); - ~entity_t(void) {}; + virtual ~entity_t(void) = 0; void link(world_t *world); void unlink(); -- cgit