From e900bb4a8fe086fac55ffe51c75915be0003c5e4 Mon Sep 17 00:00:00 2001 From: Mikko Rasa Date: Sun, 11 Dec 2022 00:15:18 +0200 Subject: [PATCH] Add missing override specifiers --- source/net/socket.h | 2 +- source/net/streamsocket.h | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/source/net/socket.h b/source/net/socket.h index c675ab5..c55a539 100644 --- a/source/net/socket.h +++ b/source/net/socket.h @@ -43,7 +43,7 @@ public: void set_block(bool) override; void set_inherit(bool) override; - const IO::Handle &get_handle(IO::Mode); + const IO::Handle &get_handle(IO::Mode) override; const IO::Handle &get_event_handle() override; /** Associates the socket with a local address. There must be no existing diff --git a/source/net/streamsocket.h b/source/net/streamsocket.h index b6d43b5..6f478d2 100644 --- a/source/net/streamsocket.h +++ b/source/net/streamsocket.h @@ -28,7 +28,7 @@ public: bool poll_connect(const Time::TimeDelta &) override; private: - void on_event(IO::PollEvent); + void on_event(IO::PollEvent) override; }; } // namespace Net -- 2.45.2