From e8d5fb89e4465e8ef64920f12e7cb60e82057658 Mon Sep 17 00:00:00 2001 From: mitaclaw <140017135+mitaclaw@users.noreply.github.com> Date: Tue, 8 Oct 2024 17:16:57 -0700 Subject: C++20: Synthesize `operator!=` From `operator==` The inequality operator is automatically generated by the compiler if `operator==` is defined. --- Source/Core/InputCommon/ControllerInterface/CoreDevice.h | 2 -- 1 file changed, 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/CoreDevice.h') 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; -- cgit v1.2.3