Commit 79695697 authored by Max Kellermann's avatar Max Kellermann

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

parent c0020142
......@@ -120,7 +120,7 @@ public:
return (SocketAddress)*this == other;
}
bool operator!=(SocketAddress &other) const noexcept {
bool operator!=(SocketAddress other) const noexcept {
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