diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-27 11:23:23 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2021-09-27 11:23:23 +0200 |
commit | deff5fda016a18fd1d5a8a2b6c0611245757aaff (patch) | |
tree | 7e08b3e3d6bd42530452ca325a4038832f8ac000 /logic | |
parent | 3f88462ff3c9e21c9c41e0041c861c64c1336344 (diff) |
fix build harder, also accidental adl
Diffstat (limited to 'logic')
-rw-r--r-- | logic/pipeline.cpp | 3 |
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); |