diff options
author | Eugene Sandulenko | 2017-03-12 11:19:24 +0100 |
---|---|---|
committer | Eugene Sandulenko | 2017-03-12 11:19:24 +0100 |
commit | cfdecfe10cd9f04237ba8998be44ac45261113f5 (patch) | |
tree | e83473e573c9ee5e5734309385fde691d2bb51f6 | |
parent | db67feba5b4d0d0045be9a1ae8ae81dab342282a (diff) | |
download | scummvm-rg350-cfdecfe10cd9f04237ba8998be44ac45261113f5.tar.gz scummvm-rg350-cfdecfe10cd9f04237ba8998be44ac45261113f5.tar.bz2 scummvm-rg350-cfdecfe10cd9f04237ba8998be44ac45261113f5.zip |
TITANIC: Fix warnings
-rw-r--r-- | engines/titanic/star_control/star_control_sub23.h | 1 | ||||
-rw-r--r-- | engines/titanic/star_control/star_control_sub24.h | 2 | ||||
-rw-r--r-- | engines/titanic/star_control/star_control_sub27.h | 1 | ||||
-rw-r--r-- | engines/titanic/star_control/star_ref.h | 4 |
4 files changed, 8 insertions, 0 deletions
diff --git a/engines/titanic/star_control/star_control_sub23.h b/engines/titanic/star_control/star_control_sub23.h index 6d5007fc9d..b0ca739fe3 100644 --- a/engines/titanic/star_control/star_control_sub23.h +++ b/engines/titanic/star_control/star_control_sub23.h @@ -55,6 +55,7 @@ public: virtual void proc3(const FMatrix &m1, const FMatrix &m2); virtual void proc4(FVector &v1, FVector &v2, FMatrix &m); virtual int proc5(CErrorCode &errorCode, FVector &v, const FMatrix &m); + virtual ~CStarControlSub23() {} int get8() const { return _field8; } }; diff --git a/engines/titanic/star_control/star_control_sub24.h b/engines/titanic/star_control/star_control_sub24.h index 857af8ab9e..7cdb2201c9 100644 --- a/engines/titanic/star_control/star_control_sub24.h +++ b/engines/titanic/star_control/star_control_sub24.h @@ -28,6 +28,8 @@ namespace Titanic { class CStarControlSub24 : public CStarControlSub23 { +public: + virtual ~CStarControlSub24() {} }; diff --git a/engines/titanic/star_control/star_control_sub27.h b/engines/titanic/star_control/star_control_sub27.h index 01782b69ca..ebac6688bd 100644 --- a/engines/titanic/star_control/star_control_sub27.h +++ b/engines/titanic/star_control/star_control_sub27.h @@ -28,6 +28,7 @@ namespace Titanic { class CStarControlSub27 : public CStarControlSub23 { + virtual ~CStarControlSub27() {} }; } // End of namespace Titanic diff --git a/engines/titanic/star_control/star_ref.h b/engines/titanic/star_control/star_ref.h index 48d8b32fa4..2f5a4c8de3 100644 --- a/engines/titanic/star_control/star_ref.h +++ b/engines/titanic/star_control/star_ref.h @@ -36,6 +36,7 @@ protected: public: CBaseStarRef(CBaseStar *star) : _star(star) {} CBaseStarRef() : _star(nullptr) {} + virtual ~CBaseStarRef() {} void process(CSurfaceArea *surface, CStarControlSub12 *sub12); @@ -49,6 +50,7 @@ private: public: CStarRef1(CBaseStar *star, const Common::Point &pt) : CBaseStarRef(star), _index(-1) {} + virtual ~CStarRef1() {} virtual bool check(const Common::Point &pt, int index); }; @@ -60,6 +62,7 @@ private: public: CStarRef2(CBaseStar *star, Common::Array<CStarPosition> *positions) : CBaseStarRef(star), _positions(positions), _index(0) {} + virtual ~CStarRef2() {} virtual bool check(const Common::Point &pt, int index); }; @@ -69,6 +72,7 @@ private: int _counter; public: CStarRef3(CBaseStar *star) :CBaseStarRef(star), _counter(0) {} + virtual ~CStarRef3() {} virtual bool check(const Common::Point &pt, int index); }; |