summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerEmu
diff options
context:
space:
mode:
authorJosJuice <josjuice@gmail.com>2024-10-15 17:08:55 +0200
committerGitHub <noreply@github.com>2024-10-15 17:08:55 +0200
commit07605bf67c6815510688ebf3e71583624c3bfab0 (patch)
tree45d3c7260daf088cbf44febda937f1a4c34c5141 /Source/Core/InputCommon/ControllerEmu
parentef8b753cd778179e1c2980b1ec2615f80a314714 (diff)
parente572081ac322253d65bf767a88887fedd4e97c2e (diff)
Merge pull request #13090 from mitaclaw/ranges-modernization-1-trivial
Ranges Algorithms Modernization - Trivial
Diffstat (limited to 'Source/Core/InputCommon/ControllerEmu')
-rw-r--r--Source/Core/InputCommon/ControllerEmu/ControllerEmu.h3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h
index b77b2ce3ed..88c14cfdb1 100644
--- a/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h
+++ b/Source/Core/InputCommon/ControllerEmu/ControllerEmu.h
@@ -53,8 +53,7 @@ struct TwoPointCalibration
}
else
{
- return std::equal(std::begin(max.data), std::end(max.data), std::begin(zero.data),
- std::not_equal_to<>());
+ return std::ranges::equal(max.data, zero.data, std::ranges::not_equal_to{});
}
}