From 4fbf6b6c95e5e47fb6e2c3fbe8e170d02204d04e Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Wed, 27 Feb 2019 23:26:59 +0100 Subject: [PATCH] net/StaticSocketAddress: remove GetAddress() --- src/net/StaticSocketAddress.hxx | 8 -------- 1 file changed, 8 deletions(-) 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); }