From 33a27379f9b2540660f9b52cd70904918c33fe4b Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Tue, 10 Feb 2015 22:05:57 +0100 Subject: [PATCH] Listen: add "override" --- src/Listen.cxx | 4 ++-- 1 file 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); }