diff options
Diffstat (limited to 'scumm')
-rw-r--r-- | scumm/instrument.h | 1 | ||||
-rw-r--r-- | scumm/player_v2a.cpp | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/scumm/instrument.h b/scumm/instrument.h index cd2cfacbc6..9e0c397b55 100644 --- a/scumm/instrument.h +++ b/scumm/instrument.h @@ -34,6 +34,7 @@ class Instrument; class InstrumentInternal { public: + virtual ~InstrumentInternal() {}; virtual void saveOrLoad (Serializer *s) = 0; virtual void send (MidiChannel *mc) = 0; virtual void copy_to (Instrument *dest) = 0; diff --git a/scumm/player_v2a.cpp b/scumm/player_v2a.cpp index 4381c5bcc7..f913295e8e 100644 --- a/scumm/player_v2a.cpp +++ b/scumm/player_v2a.cpp @@ -62,7 +62,7 @@ static uint32 GetCRC (byte *data, int len) class V2A_Sound { public: V2A_Sound() : _id(0), _mod(NULL) { } - + virtual ~V2A_Sound() {}; virtual void start(Player_MOD *mod, int id, const byte *data) = 0; virtual bool update() = 0; virtual void stop() = 0; |