diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx index 893828ef9..52191ffb2 100644 --- a/src/net/StaticSocketAddress.hxx +++ b/src/net/StaticSocketAddress.hxx @@ -66,14 +66,6 @@ public: return reinterpret_cast(&address); } - struct sockaddr *GetAddress() noexcept { - return reinterpret_cast(&address); - } - - const struct sockaddr *GetAddress() const noexcept { - return reinterpret_cast(&address); - } - constexpr size_type GetCapacity() const noexcept { return sizeof(address); }