diff options
author | Max Kellermann <max@duempel.org> | 2015-02-10 22:05:57 +0100 |
---|---|---|
committer | Max Kellermann <max@duempel.org> | 2015-02-10 22:05:57 +0100 |
commit | 33a27379f9b2540660f9b52cd70904918c33fe4b (patch) | |
tree | 52f2864a91f0f8540a25c0036dff0876eaacba25 /src | |
parent | 0cf57cc7ca4a5c34d39356368b0251ce5da4fea8 (diff) | |
download | mpd-33a27379f9b2540660f9b52cd70904918c33fe4b.tar.gz mpd-33a27379f9b2540660f9b52cd70904918c33fe4b.tar.xz mpd-33a27379f9b2540660f9b52cd70904918c33fe4b.zip |
Listen: add "override"
Diffstat (limited to 'src')
-rw-r--r-- | src/Listen.cxx | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/Listen.cxx b/src/Listen.cxx index c360b9650..3ba368a0c 100644 --- a/src/Listen.cxx +++ b/src/Listen.cxx @@ -48,8 +48,8 @@ public: :ServerSocket(_loop), partition(_partition) {} private: - virtual void OnAccept(int fd, const sockaddr &address, - size_t address_length, int uid) { + void OnAccept(int fd, const sockaddr &address, + size_t address_length, int uid) override { client_new(GetEventLoop(), partition, fd, &address, address_length, uid); } |