From 9b8ef4695f3f1d07b29580241fc266abc17dc29c Mon Sep 17 00:00:00 2001 From: Jack Andersen Date: Sat, 31 Aug 2019 11:20:30 -1000 Subject: [PATCH] Add missing override keywords --- lib/audiodev/AQS.cpp | 6 +++--- lib/mac/ApplicationCocoa.mm | 2 +- 2 files changed, 4 insertions(+), 4 deletions(-) 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()); }