mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-04-30 16:01:09 -04:00
Device: Provide operator!= counterparts to operator== for DeviceQualifier
Makes comparison logic symmetric
This commit is contained in:
@@ -136,8 +136,12 @@ public:
|
||||
void FromDevice(const Device* const dev);
|
||||
void FromString(const std::string& str);
|
||||
std::string ToString() const;
|
||||
|
||||
bool operator==(const DeviceQualifier& devq) const;
|
||||
bool operator==(const Device* const dev) const;
|
||||
bool operator!=(const DeviceQualifier& devq) const;
|
||||
|
||||
bool operator==(const Device* dev) const;
|
||||
bool operator!=(const Device* dev) const;
|
||||
|
||||
std::string source;
|
||||
int cid;
|
||||
|
||||
Reference in New Issue
Block a user