diff --git a/lib/audiodev/AQS.cpp b/lib/audiodev/AQS.cpp index 80f4ba0..c187cd4 100644 --- a/lib/audiodev/AQS.cpp +++ b/lib/audiodev/AQS.cpp @@ -140,7 +140,7 @@ struct AQSAudioVoiceEngine : BaseAudioVoiceEngine { /* * https://stackoverflow.com/questions/1983984/how-to-get-audio-device-uid-to-pass-into-nssounds-setplaybackdeviceidentifier */ - std::vector> enumerateAudioOutputs() const { + std::vector> enumerateAudioOutputs() const override { std::vector> ret; AudioObjectPropertyAddress propertyAddress; @@ -209,7 +209,7 @@ struct AQSAudioVoiceEngine : BaseAudioVoiceEngine { return ret; } - std::vector> enumerateMIDIInputs() const { + std::vector> enumerateMIDIInputs() const override { if (!m_midiClient) return {}; @@ -255,7 +255,7 @@ struct AQSAudioVoiceEngine : BaseAudioVoiceEngine { return ret; } - bool supportsVirtualMIDIIn() const { return true; } + bool supportsVirtualMIDIIn() const override { return true; } static MIDIDeviceRef LookupMIDIDevice(const char* name) { ItemCount numDevices = MIDIGetNumberOfDevices(); diff --git a/lib/mac/ApplicationCocoa.mm b/lib/mac/ApplicationCocoa.mm index 577d95a..8914d2d 100644 --- a/lib/mac/ApplicationCocoa.mm +++ b/lib/mac/ApplicationCocoa.mm @@ -52,7 +52,7 @@ private: GLContext m_glCtx; #endif - void _deletedWindow(IWindow* window) { + void _deletedWindow(IWindow* window) override { m_windows.erase(window->getPlatformHandle()); }