From f485450758ffa37c789beb6bd038782dec8d97ad Mon Sep 17 00:00:00 2001 From: Max Horn Date: Mon, 12 Dec 2011 16:22:55 +0100 Subject: HUGO: Fix warning about hidden pause() method from parent class --- engines/hugo/sound.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'engines/hugo/sound.h') diff --git a/engines/hugo/sound.h b/engines/hugo/sound.h index 1e504fbdea..cb6d4e3168 100644 --- a/engines/hugo/sound.h +++ b/engines/hugo/sound.h @@ -43,6 +43,12 @@ public: void pause(bool p); void play(uint8 *stream, uint16 size); + // The following line prevents compiler warnings about hiding the pause() + // method from the parent class. + // FIXME: Maybe the pause(bool p) method should be removed and the + // pause/resume methods of the parent class be used instead? + virtual void pause() { Audio::MidiPlayer::pause(); } + uint32 getBaseTempo(); // Overload Audio::MidiPlayer method -- cgit v1.2.3