diff options
Diffstat (limited to 'engines')
-rw-r--r-- | engines/sherlock/map.h | 1 | ||||
-rw-r--r-- | engines/sherlock/scalpel/scalpel_map.h | 1 | ||||
-rw-r--r-- | engines/sherlock/tattoo/tattoo_map.h | 1 |
3 files changed, 3 insertions, 0 deletions
diff --git a/engines/sherlock/map.h b/engines/sherlock/map.h index 2569e18187..104f5e9c8a 100644 --- a/engines/sherlock/map.h +++ b/engines/sherlock/map.h @@ -43,6 +43,7 @@ public: bool _frameChangeFlag; public: static Map *init(SherlockEngine *vm); + virtual ~Map() {} /** * Show the map diff --git a/engines/sherlock/scalpel/scalpel_map.h b/engines/sherlock/scalpel/scalpel_map.h index e61375f116..b17677725c 100644 --- a/engines/sherlock/scalpel/scalpel_map.h +++ b/engines/sherlock/scalpel/scalpel_map.h @@ -146,6 +146,7 @@ protected: void highlightIcon(const Common::Point &pt); public: ScalpelMap(SherlockEngine *vm); + virtual ~ScalpelMap() {} const MapEntry &operator[](int idx) { return _points[idx]; } diff --git a/engines/sherlock/tattoo/tattoo_map.h b/engines/sherlock/tattoo/tattoo_map.h index 15dd90e78a..750cd90c3b 100644 --- a/engines/sherlock/tattoo/tattoo_map.h +++ b/engines/sherlock/tattoo/tattoo_map.h @@ -35,6 +35,7 @@ namespace Tattoo { class TattooMap : public Map { public: TattooMap(SherlockEngine *vm) : Map(vm) {} + virtual ~TattooMap() {} /** * Show the map |