diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-09-26 12:42:21 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-09-26 12:42:21 +0300 |
commit | 45f77fd60f71322b288a4497dea5b583b2692613 (patch) | |
tree | 5ea3059c1125b3032fcdf6e0d7229a31b39dfc4a /src/being | |
parent | d2e744dab8c38ef56184251fe96293fa0f51fb9f (diff) | |
download | manaverse-45f77fd60f71322b288a4497dea5b583b2692613.tar.gz manaverse-45f77fd60f71322b288a4497dea5b583b2692613.tar.bz2 manaverse-45f77fd60f71322b288a4497dea5b583b2692613.tar.xz manaverse-45f77fd60f71322b288a4497dea5b583b2692613.zip |
Change destructors to virtual in all basic classes.
Also add some missing final to classes.
Diffstat (limited to 'src/being')
-rw-r--r-- | src/being/actorsprite.h | 2 | ||||
-rw-r--r-- | src/being/compoundsprite.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/src/being/actorsprite.h b/src/being/actorsprite.h index 11f427669..84b86d5ec 100644 --- a/src/being/actorsprite.h +++ b/src/being/actorsprite.h @@ -74,7 +74,7 @@ public: A_DELETE_COPY(ActorSprite) - ~ActorSprite(); + virtual ~ActorSprite(); int getId() const A_WARN_UNUSED { return mId; } diff --git a/src/being/compoundsprite.h b/src/being/compoundsprite.h index 5024f0122..d8c0cf849 100644 --- a/src/being/compoundsprite.h +++ b/src/being/compoundsprite.h @@ -57,7 +57,7 @@ public: A_DELETE_COPY(CompoundSprite) - ~CompoundSprite(); + virtual ~CompoundSprite(); virtual bool reset() override; |