Fix suggest-override warning

This commit is contained in:
Maarten Bent
2020-12-22 15:44:56 +01:00
parent e889924bc1
commit ea4368317f

View File

@@ -69,18 +69,18 @@ public:
m_data(NULL), m_evtHandler(NULL) {} m_data(NULL), m_evtHandler(NULL) {}
virtual ~wxSoundBackendSDL(); virtual ~wxSoundBackendSDL();
wxString GetName() const { return wxT("Simple DirectMedia Layer"); } wxString GetName() const wxOVERRIDE { return wxT("Simple DirectMedia Layer"); }
int GetPriority() const { return 9; } int GetPriority() const wxOVERRIDE { return 9; }
bool IsAvailable() const; bool IsAvailable() const wxOVERRIDE;
bool HasNativeAsyncPlayback() const { return true; } bool HasNativeAsyncPlayback() const wxOVERRIDE { return true; }
bool Play(wxSoundData *data, unsigned flags, bool Play(wxSoundData *data, unsigned flags,
volatile wxSoundPlaybackStatus *status); volatile wxSoundPlaybackStatus *status) wxOVERRIDE;
void FillAudioBuffer(Uint8 *stream, int len); void FillAudioBuffer(Uint8 *stream, int len);
void FinishedPlayback(); void FinishedPlayback();
void Stop(); void Stop() wxOVERRIDE;
bool IsPlaying() const { return m_playing; } bool IsPlaying() const wxOVERRIDE { return m_playing; }
private: private:
bool OpenAudio(); bool OpenAudio();