Commit 33a27379 authored by Max Kellermann's avatar Max Kellermann

Listen: add "override"

parent 0cf57cc7
......@@ -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);
}
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment