DiscIO/DirectoryBlob: Fix swapped DiscContent comparison operators.

This commit is contained in:
Admiral H. Curtiss 2021-09-21 08:01:21 +02:00
parent 22f7c07caf
commit 6684e26ae2
No known key found for this signature in database
GPG Key ID: F051B4C4044F33FB

View File

@ -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;