aboutsummaryrefslogtreecommitdiff
path: root/engines/sherlock/scalpel/scalpel_map.h
diff options
context:
space:
mode:
authorPaul Gilbert2015-06-08 08:48:05 -0400
committerPaul Gilbert2015-06-08 08:48:05 -0400
commitaa0dd080dd0e16124a7cba538c5bee0e63534946 (patch)
tree8cd0e61120459ff7ed1336c9552467a7f07503bf /engines/sherlock/scalpel/scalpel_map.h
parentf5a1b626b710c368e79ab27c13cf2be4ccdcb30f (diff)
downloadscummvm-rg350-aa0dd080dd0e16124a7cba538c5bee0e63534946.tar.gz
scummvm-rg350-aa0dd080dd0e16124a7cba538c5bee0e63534946.tar.bz2
scummvm-rg350-aa0dd080dd0e16124a7cba538c5bee0e63534946.zip
SHERLOCK: Add virtual destructors to Map classes
Diffstat (limited to 'engines/sherlock/scalpel/scalpel_map.h')
-rw-r--r--engines/sherlock/scalpel/scalpel_map.h1
1 files changed, 1 insertions, 0 deletions
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]; }