From ea4368317f29a32644577d9056be4b03de370baf Mon Sep 17 00:00:00 2001 From: Maarten Bent Date: Tue, 22 Dec 2020 15:44:56 +0100 Subject: [PATCH] Fix suggest-override warning --- src/unix/sound_sdl.cpp | 14 +++++++------- 1 file changed, 7 insertions(+), 7 deletions(-) diff --git a/src/unix/sound_sdl.cpp b/src/unix/sound_sdl.cpp index a2c4628b53..ebdc06b98c 100644 --- a/src/unix/sound_sdl.cpp +++ b/src/unix/sound_sdl.cpp @@ -69,18 +69,18 @@ public: m_data(NULL), m_evtHandler(NULL) {} virtual ~wxSoundBackendSDL(); - wxString GetName() const { return wxT("Simple DirectMedia Layer"); } - int GetPriority() const { return 9; } - bool IsAvailable() const; - bool HasNativeAsyncPlayback() const { return true; } + wxString GetName() const wxOVERRIDE { return wxT("Simple DirectMedia Layer"); } + int GetPriority() const wxOVERRIDE { return 9; } + bool IsAvailable() const wxOVERRIDE; + bool HasNativeAsyncPlayback() const wxOVERRIDE { return true; } bool Play(wxSoundData *data, unsigned flags, - volatile wxSoundPlaybackStatus *status); + volatile wxSoundPlaybackStatus *status) wxOVERRIDE; void FillAudioBuffer(Uint8 *stream, int len); void FinishedPlayback(); - void Stop(); - bool IsPlaying() const { return m_playing; } + void Stop() wxOVERRIDE; + bool IsPlaying() const wxOVERRIDE { return m_playing; } private: bool OpenAudio();