util/DereferenceIterator: remove unnecessary operator!=()

The compiler must generate this implicitly from operator==().
This commit is contained in:
Max Kellermann 2024-07-10 20:13:01 +02:00
parent 68a424d9e1
commit 0cc9ef0aee
1 changed files with 0 additions and 4 deletions

View File

@ -80,8 +80,4 @@ public:
bool operator==(const DereferenceIterator<IT,VT> &other) const noexcept { bool operator==(const DereferenceIterator<IT,VT> &other) const noexcept {
return original == other.original; return original == other.original;
} }
bool operator!=(const DereferenceIterator<IT,VT> &other) const noexcept {
return original != other.original;
}
}; };