mirror of
https://github.com/gbdev/rgbds.git
synced 2026-05-09 03:19:35 +00:00
Revert "Derive operator!= from operator== (#1660)"
This reverts commit 993879a2ed.
This commit is contained in:
@@ -100,6 +100,7 @@ private:
|
||||
AssignedSetsIter() = default;
|
||||
|
||||
bool operator==(AssignedSetsIter const &rhs) const { return _iter == rhs._iter; }
|
||||
bool operator!=(AssignedSetsIter const &rhs) const { return !operator==(rhs); }
|
||||
|
||||
AssignedSetsIter &operator++() {
|
||||
++_iter;
|
||||
|
||||
@@ -263,6 +263,7 @@ struct Image {
|
||||
}
|
||||
|
||||
bool operator==(Iterator const &rhs) const { return coords() == rhs.coords(); }
|
||||
bool operator!=(Iterator const &rhs) const { return !operator==(rhs); }
|
||||
};
|
||||
|
||||
public:
|
||||
|
||||
Reference in New Issue
Block a user