summaryrefslogtreecommitdiff
path: root/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp
diff options
context:
space:
mode:
authorAdmiral H. Curtiss <pikachu025@gmail.com>2025-03-03 22:29:25 +0100
committerGitHub <noreply@github.com>2025-03-03 22:29:25 +0100
commit3c5da38177c9201313970974a37587cfdaa7691b (patch)
tree289b20dfc094d09595f347cd9d6b5cdca865f464 /Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp
parentecb0a3e5c7cbf4fd9808905281f990e42d629ccf (diff)
parente217d6c939900688588f5214ea188f0f505d8a09 (diff)
Merge pull request #13390 from jordan-woyak/ciface-clock
InputCommon: Use Clock from CommonTypes.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp')
-rw-r--r--Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp3
1 files changed, 1 insertions, 2 deletions
diff --git a/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp b/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp
index 3765ef24a6..10ebe9a984 100644
--- a/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp
+++ b/Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp
@@ -147,8 +147,7 @@ void RemoveSpuriousTriggerCombinations(Core::InputDetector::Results* detections)
std::erase_if(*detections, is_spurious);
}
-void RemoveDetectionsAfterTimePoint(Core::InputDetector::Results* results,
- Core::DeviceContainer::Clock::time_point after)
+void RemoveDetectionsAfterTimePoint(Core::InputDetector::Results* results, Clock::time_point after)
{
const auto is_after_time = [&](const Core::InputDetector::Detection& detection) {
return detection.release_time.value_or(after) >= after;