1
0
mirror of https://github.com/PurpleI2P/i2pd.git synced 2025-01-30 12:04:13 +00:00

fixed warnings

This commit is contained in:
orignal 2023-04-03 22:50:31 -04:00
parent 0c8a80b6f8
commit dc6499aa98
2 changed files with 2 additions and 2 deletions

View File

@ -94,7 +94,7 @@ namespace tunnel
TransitTunnel (receiveTunnelID, nextIdent, nextTunnelID, layerKey, ivKey), TransitTunnel (receiveTunnelID, nextIdent, nextTunnelID, layerKey, ivKey),
m_Endpoint (false) {}; // transit endpoint is always outbound m_Endpoint (false) {}; // transit endpoint is always outbound
void Cleanup () { m_Endpoint.Cleanup (); } void Cleanup () override { m_Endpoint.Cleanup (); }
void HandleTunnelDataMsg (std::shared_ptr<i2p::I2NPMessage>&& tunnelMsg) override; void HandleTunnelDataMsg (std::shared_ptr<i2p::I2NPMessage>&& tunnelMsg) override;
size_t GetNumTransmittedBytes () const { return m_Endpoint.GetNumReceivedBytes (); } size_t GetNumTransmittedBytes () const { return m_Endpoint.GetNumReceivedBytes (); }

View File

@ -165,7 +165,7 @@ namespace tunnel
bool IsInbound() const override { return true; } bool IsInbound() const override { return true; }
// override TunnelBase // override TunnelBase
void Cleanup () { m_Endpoint.Cleanup (); }; void Cleanup () override { m_Endpoint.Cleanup (); };
private: private: