net/StaticSocketAddress: pass SocketAddress by value to operator!=
This commit is contained in:
parent
c0020142da
commit
796956970e
@ -120,7 +120,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