mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-09-10 12:27:01 -05:00
C++20: Synthesize operator!= From operator==
The inequality operator is automatically generated by the compiler if `operator==` is defined.
This commit is contained in:
@@ -80,7 +80,6 @@ public:
|
||||
|
||||
// Needed for InputIterator concept
|
||||
bool operator==(const MoIterator& other) const { return distance_to(other) == 0; }
|
||||
bool operator!=(const MoIterator& other) const { return !(*this == other); }
|
||||
pointer operator->() const { return dereference(); }
|
||||
MoIterator operator++(int)
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user