mirror of
https://github.com/dolphin-emu/dolphin.git
synced 2026-10-15 15:20:21 +02:00
InputCommon: Use Clock from CommonTypes.
This commit is contained in:
1 parent
65726b7b5f
commit
e217d6c939
4 files changed
+3
-8
No files matched your search
@@ -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;
|
||||
|
||||
Reference in new issue
Block a user