From e217d6c939900688588f5214ea188f0f505d8a09 Mon Sep 17 00:00:00 2001 From: Jordan Woyak Date: Sun, 2 Mar 2025 15:42:26 -0600 Subject: InputCommon: Use Clock from CommonTypes. --- Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp') 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; -- cgit v1.2.3