mirror of
https://github.com/gbdev/rgbds.git
synced 2025-11-20 10:12:06 +00:00
Define operator!= in terms of operator== (#1659)
This commit is contained in:
@@ -466,7 +466,7 @@ public:
|
||||
}
|
||||
|
||||
bool operator==(Iterator const &rhs) const { return coords() == rhs.coords(); }
|
||||
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