]> git.tdb.fi Git - libs/net.git/blobdiff - source/net/streamsocket.h
Use the override specifier when overriding
[libs/net.git] / source / net / streamsocket.h
index 8b39e91afd358214168c977e299e01bc714d3e76..b6d43b5abc227770587c19d199f49f8ebf66291e 100644 (file)
@@ -23,9 +23,9 @@ public:
        If the socket is non-blocking, this function may return before the
        connection is fully established.  The caller must then use either the
        poll_connect function or an EventDispatcher to finish the process. */
-       virtual bool connect(const SockAddr &);
+       bool connect(const SockAddr &) override;
 
-       virtual bool poll_connect(const Time::TimeDelta &);
+       bool poll_connect(const Time::TimeDelta &) override;
 
 private:
        void on_event(IO::PollEvent);