From a315e4ce62d37d21909d41e6d768726cfae258f1 Mon Sep 17 00:00:00 2001 From: R4SAS Date: Sun, 18 Dec 2022 22:53:14 +0300 Subject: [PATCH] more overrides Signed-off-by: R4SAS --- libi2pd/NTCP2.h | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/libi2pd/NTCP2.h b/libi2pd/NTCP2.h index 754f5a6d..265b1f6b 100644 --- a/libi2pd/NTCP2.h +++ b/libi2pd/NTCP2.h @@ -134,7 +134,7 @@ namespace transport ~NTCP2Session (); void Terminate (); void TerminateByTimeout (); - void Done (); + void Done () override; void Close () { m_Socket.close (); }; // for accept void DeleteNextReceiveBuffer (uint64_t ts); @@ -142,14 +142,14 @@ namespace transport const boost::asio::ip::tcp::endpoint& GetRemoteEndpoint () { return m_RemoteEndpoint; }; void SetRemoteEndpoint (const boost::asio::ip::tcp::endpoint& ep) { m_RemoteEndpoint = ep; }; - bool IsEstablished () const { return m_IsEstablished; }; + bool IsEstablished () const override { return m_IsEstablished; }; bool IsTerminated () const { return m_IsTerminated; }; void ClientLogin (); // Alice void ServerLogin (); // Bob - void SendLocalRouterInfo (bool update); // after handshake or by update - void SendI2NPMessages (const std::vector >& msgs); + void SendLocalRouterInfo (bool update) override; // after handshake or by update + void SendI2NPMessages (const std::vector >& msgs) override; private: