summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
diff options
context:
space:
mode:
authormitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-10-08 17:16:57 -0700
committermitaclaw <140017135+mitaclaw@users.noreply.github.com>2024-10-10 20:23:55 -0700
commite8d5fb89e4465e8ef64920f12e7cb60e82057658 (patch)
treeeda79c38cbe3b018b91038d642ccc48bcc9f93b8 /Source/Core/InputCommon/ControllerInterface/CoreDevice.h
parentb5f7a508742671410c44fc6f0e66d0ce789c3b57 (diff)
C++20: Synthesize `operator!=` From `operator==`
The inequality operator is automatically generated by the compiler if `operator==` is defined.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.h')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/CoreDevice.h2
1 files changed, 0 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
index 8dbbccf4b5..33a322861b 100644
--- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
+++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.h
@@ -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;