Listen: add "override"

This commit is contained in:
Max Kellermann 2015-02-10 22:05:57 +01:00
parent 0cf57cc7ca
commit 33a27379f9

View File

@ -48,8 +48,8 @@ public:
:ServerSocket(_loop), partition(_partition) {} :ServerSocket(_loop), partition(_partition) {}
private: private:
virtual void OnAccept(int fd, const sockaddr &address, void OnAccept(int fd, const sockaddr &address,
size_t address_length, int uid) { size_t address_length, int uid) override {
client_new(GetEventLoop(), partition, client_new(GetEventLoop(), partition,
fd, &address, address_length, uid); fd, &address, address_length, uid);
} }