diff options
Diffstat (limited to 'src/object.h')
-rw-r--r-- | src/object.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/object.h b/src/object.h index a3031598..8a8a4d2a 100644 --- a/src/object.h +++ b/src/object.h @@ -49,7 +49,7 @@ class Object int x; int y; public: - ~Object() { } + virtual ~Object() { } virtual void update() = 0; }; @@ -91,7 +91,7 @@ class Being : public Object #endif public: - ~Being() { } //empty definition + virtual ~Being() { } //empty definition //update void update() { |