aboutsummaryrefslogtreecommitdiff
path: root/engines/titanic/pet_control
diff options
context:
space:
mode:
authorPaul Gilbert2016-03-05 00:04:26 -0500
committerPaul Gilbert2016-03-05 00:04:26 -0500
commit5bdb873c47be734a6086510a6c8ff4cae19db21c (patch)
tree7222ddea7fcf6de695a7977d22ff15c2898d59e6 /engines/titanic/pet_control
parente03a1106628e2d3e954c67c21bada5eae07c5c7d (diff)
downloadscummvm-rg350-5bdb873c47be734a6086510a6c8ff4cae19db21c.tar.gz
scummvm-rg350-5bdb873c47be734a6086510a6c8ff4cae19db21c.tar.bz2
scummvm-rg350-5bdb873c47be734a6086510a6c8ff4cae19db21c.zip
TITANIC: gcc compilation fixes
Diffstat (limited to 'engines/titanic/pet_control')
-rw-r--r--engines/titanic/pet_control/pet_control_sub_base.h1
-rw-r--r--engines/titanic/pet_control/pet_val_base.h1
2 files changed, 2 insertions, 0 deletions
diff --git a/engines/titanic/pet_control/pet_control_sub_base.h b/engines/titanic/pet_control/pet_control_sub_base.h
index 85423820f4..ead9a6e6dd 100644
--- a/engines/titanic/pet_control/pet_control_sub_base.h
+++ b/engines/titanic/pet_control/pet_control_sub_base.h
@@ -42,6 +42,7 @@ protected:
int _field4;
public:
CPetControlSubBase() : _field4(0) {}
+ virtual ~CPetControlSubBase() {}
virtual int proc1() { return 0; }
virtual int proc2() { return 0; }
diff --git a/engines/titanic/pet_control/pet_val_base.h b/engines/titanic/pet_control/pet_val_base.h
index a2701149a7..1d5399b70b 100644
--- a/engines/titanic/pet_control/pet_val_base.h
+++ b/engines/titanic/pet_control/pet_val_base.h
@@ -38,6 +38,7 @@ protected:
public:
CPetValBase() : _field4(0), _field8(0), _fieldC(0),
_field10(0), _field14(0) {}
+ virtual ~CPetValBase() {}
virtual void proc1() {}
virtual void proc2() {}