summaryrefslogtreecommitdiffhomepage
path: root/logic
diff options
context:
space:
mode:
Diffstat (limited to 'logic')
-rw-r--r--logic/pipeline.cpp3
1 files changed, 1 insertions, 2 deletions
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);