diff options
Diffstat (limited to 'platform/api/tls_connection.h')
-rw-r--r-- | platform/api/tls_connection.h | 5 |
1 files changed, 1 insertions, 4 deletions
diff --git a/platform/api/tls_connection.h b/platform/api/tls_connection.h index 4d409cb5..1f47bce6 100644 --- a/platform/api/tls_connection.h +++ b/platform/api/tls_connection.h @@ -26,7 +26,7 @@ class TlsConnection { std::vector<uint8_t> block) = 0; protected: - virtual ~Client() = default; + virtual ~Client(); }; virtual ~TlsConnection(); @@ -40,9 +40,6 @@ class TlsConnection { // Sends a message. Returns true iff the message will be sent. [[nodiscard]] virtual bool Send(const void* data, size_t len) = 0; - // Get the local address. - virtual IPEndpoint GetLocalEndpoint() const = 0; - // Get the connected remote address. virtual IPEndpoint GetRemoteEndpoint() const = 0; |