diff options
author | Paweł Redman <pawel.redman@gmail.com> | 2017-12-16 19:23:01 +0100 |
---|---|---|
committer | Paweł Redman <pawel.redman@gmail.com> | 2017-12-16 19:23:01 +0100 |
commit | da4e3c6509fa6e00f5bbcb3a34607dd966650d1a (patch) | |
tree | 94b4cdd06ee3142802fc1f3fb34cb9f6087807dc /src/common.hpp | |
parent | 820e2e9d428c273e065cfe18b48c183a5cbedd75 (diff) |
Clean up the virtual dtor mess.
Diffstat (limited to 'src/common.hpp')
-rw-r--r-- | src/common.hpp | 2 |
1 files changed, 1 insertions, 1 deletions
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(); |