diff options
author | Max Kellermann <max@musicpd.org> | 2019-02-27 23:26:59 +0100 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2019-02-27 23:26:59 +0100 |
commit | 4fbf6b6c95e5e47fb6e2c3fbe8e170d02204d04e (patch) | |
tree | 7d6d6c970215775750cea8c12d3acc2800b816cf /src/net | |
parent | 1f8ff48168f680bd300a8cb58bb04a14f66199d8 (diff) |
net/StaticSocketAddress: remove GetAddress()
Diffstat (limited to 'src/net')
-rw-r--r-- | src/net/StaticSocketAddress.hxx | 8 |
1 files changed, 0 insertions, 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<const struct sockaddr *>(&address); } - struct sockaddr *GetAddress() noexcept { - return reinterpret_cast<struct sockaddr *>(&address); - } - - const struct sockaddr *GetAddress() const noexcept { - return reinterpret_cast<const struct sockaddr *>(&address); - } - constexpr size_type GetCapacity() const noexcept { return sizeof(address); } |