Commit 8a81b986 authored by Max Kellermann's avatar Max Kellermann

net/AllocatedSocketAddress: pass SocketAddress by value to operator!=

parent a6e62479
...@@ -89,7 +89,7 @@ public: ...@@ -89,7 +89,7 @@ public:
return (SocketAddress)*this == other; return (SocketAddress)*this == other;
} }
bool operator!=(SocketAddress &other) const noexcept { bool operator!=(SocketAddress other) const noexcept {
return !(*this == other); return !(*this == other);
} }
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment