From deff5fda016a18fd1d5a8a2b6c0611245757aaff Mon Sep 17 00:00:00 2001 From: Stanislaw Halik Date: Mon, 27 Sep 2021 11:23:23 +0200 Subject: fix build harder, also accidental adl --- logic/pipeline.cpp | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'logic') diff --git a/logic/pipeline.cpp b/logic/pipeline.cpp index 171c7016..074cce24 100644 --- a/logic/pipeline.cpp +++ b/logic/pipeline.cpp @@ -605,8 +605,7 @@ void pipeline::run() backlog_time = {}; } - const int sleep_ms = (int)clamp(interval - backlog_time, - ms{0}, ms{10}).count(); + const int sleep_ms = (int)std::clamp(interval - backlog_time, ms{0}, ms{10}).count(); #ifdef DEBUG_TIMINGS debug_timings(backlog_time.count(), sleep_ms); -- cgit v1.2.3