diff options
| author | Jordan Woyak <jordan.woyak@gmail.com> | 2025-03-02 15:42:26 -0600 |
|---|---|---|
| committer | Jordan Woyak <jordan.woyak@gmail.com> | 2025-03-02 15:42:26 -0600 |
| commit | e217d6c939900688588f5214ea188f0f505d8a09 (patch) | |
| tree | 7a30de7829be97cfe9ac8e268cbe8739011a95cf /Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp | |
| parent | 65726b7b5f005ce90dd38a20fe3c06c4b1338b10 (diff) | |
InputCommon: Use Clock from CommonTypes.
Diffstat (limited to 'Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp')
| -rw-r--r-- | Source/Core/InputCommon/ControllerInterface/MappingCommon.cpp | 3 |
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; |
