net/AllocatedSocketAddress: pass SocketAddress by value to operator!=
This commit is contained in:
parent
a6e62479be
commit
8a81b986c0
@ -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);
|
||||||
}
|
}
|
||||||
|
|
||||||
|
Loading…
Reference in New Issue
Block a user