summaryrefslogtreecommitdiffhomepage
path: root/logic/tracker.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'logic/tracker.cpp')
-rw-r--r--logic/tracker.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/logic/tracker.cpp b/logic/tracker.cpp
index 57995d37..c1459286 100644
--- a/logic/tracker.cpp
+++ b/logic/tracker.cpp
@@ -390,7 +390,7 @@ void Tracker::run()
{
logic();
- static constexpr ns const_sleep_ms(time_cast<ns>(ms(4)));
+ constexpr ns const_sleep_ms(time_cast<ns>(ms(4)));
const ns elapsed_nsecs = prog1(t.elapsed<ns>(), t.start());
if (backlog_time > secs_(3) || backlog_time < secs_(-3))
@@ -403,7 +403,7 @@ void Tracker::run()
backlog_time += ns(elapsed_nsecs - const_sleep_ms);
const int sleep_time_ms = time_cast<ms>(clamp(const_sleep_ms - backlog_time,
- ms::zero(), ms(10))).count();
+ ms::zero(), ms(10))).count();
#if 0
qDebug() << "sleepy time" << sleep_time_ms