diff options
author | Max Kellermann <max@duempel.org> | 2016-03-10 23:16:35 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2016-03-10 23:16:35 +0100 |
commit | f254831aa6251af2aa9b6052953f59439035b939 (patch) | |
tree | 6b63256f9c66239f4ae945f8e9ab3e91a5ba0563 /src | |
parent | bd40c8649c036016c97e8e6ae053cdf52cdad1fb (diff) |
Instance: remove redundant "virtual" keywords
Diffstat (limited to 'src')
-rw-r--r-- | src/Instance.hxx | 8 | ||||
-rw-r--r-- | src/Partition.hxx | 6 | ||||
-rw-r--r-- | src/StateFile.hxx | 2 |
3 files changed, 8 insertions, 8 deletions
diff --git a/src/Instance.hxx b/src/Instance.hxx index ed4dacd4d..2b413d699 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -114,14 +114,14 @@ struct Instance final private: #ifdef ENABLE_DATABASE - virtual void OnDatabaseModified() override; - virtual void OnDatabaseSongRemoved(const LightSong &song) override; + void OnDatabaseModified() override; + void OnDatabaseSongRemoved(const LightSong &song) override; #endif #ifdef ENABLE_NEIGHBOR_PLUGINS /* virtual methods from class NeighborListener */ - virtual void FoundNeighbor(const NeighborInfo &info) override; - virtual void LostNeighbor(const NeighborInfo &info) override; + void FoundNeighbor(const NeighborInfo &info) override; + void LostNeighbor(const NeighborInfo &info) override; #endif /* callback for #idle_monitor */ diff --git a/src/Partition.hxx b/src/Partition.hxx index 89c761b60..666adfde9 100644 --- a/src/Partition.hxx +++ b/src/Partition.hxx @@ -217,11 +217,11 @@ private: void OnQueueSongStarted() override; /* virtual methods from class PlayerListener */ - virtual void OnPlayerSync() override; - virtual void OnPlayerTagModified() override; + void OnPlayerSync() override; + void OnPlayerTagModified() override; /* virtual methods from class MixerListener */ - virtual void OnMixerVolumeChanged(Mixer &mixer, int volume) override; + void OnMixerVolumeChanged(Mixer &mixer, int volume) override; /* callback for #global_events */ void OnGlobalEvent(unsigned mask); diff --git a/src/StateFile.hxx b/src/StateFile.hxx index babc49752..056cfb654 100644 --- a/src/StateFile.hxx +++ b/src/StateFile.hxx @@ -76,7 +76,7 @@ private: bool IsModified() const; /* virtual methods from TimeoutMonitor */ - virtual void OnTimeout() override; + void OnTimeout() override; }; #endif /* STATE_FILE_H */ |