]> git.tdb.fi Git - libs/net.git/commitdiff
Add missing override specifiers
authorMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2022 22:15:18 +0000 (00:15 +0200)
committerMikko Rasa <tdb@tdb.fi>
Sat, 10 Dec 2022 22:15:18 +0000 (00:15 +0200)
source/net/socket.h
source/net/streamsocket.h

index c675ab5801766635e93fbb8a6bbead4497820635..c55a5390a673d868b51d9e52a9675fee18f79b79 100644 (file)
@@ -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
index b6d43b5abc227770587c19d199f49f8ebf66291e..6f478d289985f0a553a9c9261ccf5ff02a14579a 100644 (file)
@@ -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