net/SocketAdddress: remove unnecessary operator!=()
The compiler must generate this implicitly from operator==().
This commit is contained in:
committed by
Max Kellermann
parent
bc758cece0
commit
ea96b321dc
@@ -169,8 +169,4 @@ public:
|
||||
|
||||
[[gnu::pure]]
|
||||
bool operator==(const SocketAddress other) const noexcept;
|
||||
|
||||
bool operator!=(const SocketAddress other) const noexcept {
|
||||
return !(*this == other);
|
||||
}
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user