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
*/
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;
AudioObjectPropertyAddress propertyAddress;
@ -209,7 +209,7 @@ struct AQSAudioVoiceEngine : BaseAudioVoiceEngine {
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)
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();

View File

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