net/AddressInfo: remove unnecessary operator!=()
The compiler must generate this implicitly from operator==().
This commit is contained in:
parent
49ad4e9f3c
commit
d24e7763f6
|
@ -111,10 +111,6 @@ public:
|
||||||
return cursor == other.cursor;
|
return cursor == other.cursor;
|
||||||
}
|
}
|
||||||
|
|
||||||
constexpr bool operator!=(const_iterator other) const noexcept {
|
|
||||||
return cursor != other.cursor;
|
|
||||||
}
|
|
||||||
|
|
||||||
const_iterator &operator++() noexcept {
|
const_iterator &operator++() noexcept {
|
||||||
cursor = cursor->ai_next;
|
cursor = cursor->ai_next;
|
||||||
return *this;
|
return *this;
|
||||||
|
|
Loading…
Reference in New Issue