mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-10 03:49:36 +00:00
Revert "Derive operator!= from operator== (#1660)"
This reverts commit 993879a2ed.
This commit is contained in:
@@ -97,6 +97,7 @@ class EnumSeq {
|
||||
EnumT operator*() const { return _value; }
|
||||
|
||||
bool operator==(Iterator const &rhs) const { return _value == rhs._value; }
|
||||
bool operator!=(Iterator const &rhs) const { return !operator==(rhs); }
|
||||
};
|
||||
|
||||
public:
|
||||
@@ -131,6 +132,7 @@ public:
|
||||
bool operator==(ZipIterator const &rhs) const {
|
||||
return std::get<0>(_iters) == std::get<0>(rhs._iters);
|
||||
}
|
||||
bool operator!=(ZipIterator const &rhs) const { return !operator==(rhs); }
|
||||
};
|
||||
|
||||
// Only needed inside `zip` below.
|
||||
|
||||
Reference in New Issue
Block a user