diff --git a/src/net/AllocatedSocketAddress.hxx b/src/net/AllocatedSocketAddress.hxx index def181a8c..30ed8d819 100644 --- a/src/net/AllocatedSocketAddress.hxx +++ b/src/net/AllocatedSocketAddress.hxx @@ -89,7 +89,7 @@ public: return (SocketAddress)*this == other; } - bool operator!=(SocketAddress &other) const noexcept { + bool operator!=(SocketAddress other) const noexcept { return !(*this == other); }