mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2025-01-10 08:09:26 +01:00
Merge pull request #10117 from AdmiralCurtiss/disc-content-comparators
DiscIO/DirectoryBlob: Fix swapped DiscContent comparison operators.
This commit is contained in:
commit
cc84799c7f
@ -58,8 +58,8 @@ public:
|
||||
bool operator!=(const DiscContent& other) const { return !(*this == other); }
|
||||
bool operator<(const DiscContent& other) const { return GetEndOffset() < other.GetEndOffset(); }
|
||||
bool operator>(const DiscContent& other) const { return other < *this; }
|
||||
bool operator<=(const DiscContent& other) const { return !(*this < other); }
|
||||
bool operator>=(const DiscContent& other) const { return !(*this > other); }
|
||||
bool operator<=(const DiscContent& other) const { return !(*this > other); }
|
||||
bool operator>=(const DiscContent& other) const { return !(*this < other); }
|
||||
|
||||
private:
|
||||
u64 m_offset;
|
||||
|
Loading…
x
Reference in New Issue
Block a user