net/AddressInfo: remove unnecessary operator!=()

The compiler must generate this implicitly from operator==().
This commit is contained in:
Max Kellermann 2024-07-22 16:49:52 +02:00 committed by Max Kellermann
parent 49ad4e9f3c
commit d24e7763f6
1 changed files with 0 additions and 4 deletions

View File

@ -111,10 +111,6 @@ public:
return cursor == other.cursor;
}
constexpr bool operator!=(const_iterator other) const noexcept {
return cursor != other.cursor;
}
const_iterator &operator++() noexcept {
cursor = cursor->ai_next;
return *this;