mirror of
https://github.com/izzy2lost/dolphin.git
synced 2026-06-19 01:16:48 -07: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:
@@ -213,10 +213,8 @@ public:
|
||||
std::string ToString() const;
|
||||
|
||||
bool operator==(const DeviceQualifier& devq) 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