From 02a967f78625ce226c0590948d49f29d6e35ebe1 Mon Sep 17 00:00:00 2001 From: "Admiral H. Curtiss" Date: Sat, 24 Sep 2022 00:48:47 +0200 Subject: [PATCH] InputCommon: Add equality operators to RawValue. --- Source/Core/InputCommon/ControllerEmu/ControllerEmu.h | 2 ++ 1 file changed, 2 insertions(+) diff --git a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h index 6b6329cc4f..2db991eb82 100644 --- a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h +++ b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h @@ -110,6 +110,8 @@ struct RawValue T value; + constexpr bool operator==(const RawValue& other) const = default; + template auto GetNormalizedValue(const TwoPointCalibration& calibration) const {