Add missing override keywords

This commit is contained in:
Jack Andersen 2019-08-31 11:20:30 -10:00
parent c642bccf03
commit 9b8ef4695f
2 changed files with 4 additions and 4 deletions

View File

@ -140,7 +140,7 @@ struct AQSAudioVoiceEngine : BaseAudioVoiceEngine {
/* /*
* https://stackoverflow.com/questions/1983984/how-to-get-audio-device-uid-to-pass-into-nssounds-setplaybackdeviceidentifier * https://stackoverflow.com/questions/1983984/how-to-get-audio-device-uid-to-pass-into-nssounds-setplaybackdeviceidentifier
*/ */
std::vector<std::pair<std::string, std::string>> enumerateAudioOutputs() const { std::vector<std::pair<std::string, std::string>> enumerateAudioOutputs() const override {
std::vector<std::pair<std::string, std::string>> ret; std::vector<std::pair<std::string, std::string>> ret;
AudioObjectPropertyAddress propertyAddress; AudioObjectPropertyAddress propertyAddress;
@ -209,7 +209,7 @@ struct AQSAudioVoiceEngine : BaseAudioVoiceEngine {
return ret; return ret;
} }
std::vector<std::pair<std::string, std::string>> enumerateMIDIInputs() const { std::vector<std::pair<std::string, std::string>> enumerateMIDIInputs() const override {
if (!m_midiClient) if (!m_midiClient)
return {}; return {};
@ -255,7 +255,7 @@ struct AQSAudioVoiceEngine : BaseAudioVoiceEngine {
return ret; return ret;
} }
bool supportsVirtualMIDIIn() const { return true; } bool supportsVirtualMIDIIn() const override { return true; }
static MIDIDeviceRef LookupMIDIDevice(const char* name) { static MIDIDeviceRef LookupMIDIDevice(const char* name) {
ItemCount numDevices = MIDIGetNumberOfDevices(); ItemCount numDevices = MIDIGetNumberOfDevices();

View File

@ -52,7 +52,7 @@ private:
GLContext m_glCtx; GLContext m_glCtx;
#endif #endif
void _deletedWindow(IWindow* window) { void _deletedWindow(IWindow* window) override {
m_windows.erase(window->getPlatformHandle()); m_windows.erase(window->getPlatformHandle());
} }