Instance: remove redundant "virtual" keywords

This commit is contained in:
Max Kellermann 2016-03-10 23:16:35 +01:00
parent bd40c8649c
commit f254831aa6
3 changed files with 8 additions and 8 deletions

View File

@ -114,14 +114,14 @@ struct Instance final
private: private:
#ifdef ENABLE_DATABASE #ifdef ENABLE_DATABASE
virtual void OnDatabaseModified() override; void OnDatabaseModified() override;
virtual void OnDatabaseSongRemoved(const LightSong &song) override; void OnDatabaseSongRemoved(const LightSong &song) override;
#endif #endif
#ifdef ENABLE_NEIGHBOR_PLUGINS #ifdef ENABLE_NEIGHBOR_PLUGINS
/* virtual methods from class NeighborListener */ /* virtual methods from class NeighborListener */
virtual void FoundNeighbor(const NeighborInfo &info) override; void FoundNeighbor(const NeighborInfo &info) override;
virtual void LostNeighbor(const NeighborInfo &info) override; void LostNeighbor(const NeighborInfo &info) override;
#endif #endif
/* callback for #idle_monitor */ /* callback for #idle_monitor */

View File

@ -217,11 +217,11 @@ private:
void OnQueueSongStarted() override; void OnQueueSongStarted() override;
/* virtual methods from class PlayerListener */ /* virtual methods from class PlayerListener */
virtual void OnPlayerSync() override; void OnPlayerSync() override;
virtual void OnPlayerTagModified() override; void OnPlayerTagModified() override;
/* virtual methods from class MixerListener */ /* virtual methods from class MixerListener */
virtual void OnMixerVolumeChanged(Mixer &mixer, int volume) override; void OnMixerVolumeChanged(Mixer &mixer, int volume) override;
/* callback for #global_events */ /* callback for #global_events */
void OnGlobalEvent(unsigned mask); void OnGlobalEvent(unsigned mask);

View File

@ -76,7 +76,7 @@ private:
bool IsModified() const; bool IsModified() const;
/* virtual methods from TimeoutMonitor */ /* virtual methods from TimeoutMonitor */
virtual void OnTimeout() override; void OnTimeout() override;
}; };
#endif /* STATE_FILE_H */ #endif /* STATE_FILE_H */