diff --git a/src/net/StaticSocketAddress.hxx b/src/net/StaticSocketAddress.hxx index 72287a8d1..2305379aa 100644 --- a/src/net/StaticSocketAddress.hxx +++ b/src/net/StaticSocketAddress.hxx @@ -120,7 +120,7 @@ public: return (SocketAddress)*this == other; } - bool operator!=(SocketAddress &other) const noexcept { + bool operator!=(SocketAddress other) const noexcept { return !(*this == other); } };