summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon
diff options
context:
space:
mode:
Diffstat (limited to 'Source/Core/InputCommon')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp10
-rw-r--r--Source/Core/InputCommon/ControllerInterface/CoreDevice.h2
-rw-r--r--Source/Core/InputCommon/ImageOperations.h1
3 files changed, 0 insertions, 13 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp b/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp
index 720ea82735..8cf3e763e8 100644
--- a/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/CoreDevice.cpp
@@ -227,21 +227,11 @@ bool DeviceQualifier::operator==(const Device* const dev) const
return false;
}
-bool DeviceQualifier::operator!=(const Device* const dev) const
-{
- return !operator==(dev);
-}
-
bool DeviceQualifier::operator==(const DeviceQualifier& devq) const
{
return std::tie(cid, name, source) == std::tie(devq.cid, devq.name, devq.source);
}
-bool DeviceQualifier::operator!=(const DeviceQualifier& devq) const
-{
- return !operator==(devq);
-}
-
std::shared_ptr<Device> DeviceContainer::FindDevice(const DeviceQualifier& devq) const
{
std::lock_guard lk(m_devices_mutex);
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;
diff --git a/Source/Core/InputCommon/ImageOperations.h b/Source/Core/InputCommon/ImageOperations.h
index da8b938c15..72887d1db2 100644
--- a/Source/Core/InputCommon/ImageOperations.h
+++ b/Source/Core/InputCommon/ImageOperations.h
@@ -21,7 +21,6 @@ struct Pixel
u8 a = 0;
bool operator==(const Pixel& o) const { return r == o.r && g == o.g && b == o.b && a == o.a; }
- bool operator!=(const Pixel& o) const { return !(o == *this); }
};
using Point = Common::TVec2<u32>;