aboutsummaryrefslogtreecommitdiff
path: root/src/timestamp_pool.cc
diff options
context:
space:
mode:
authorNicolas James <nj3ahxac@gmail.com>2026-03-10 22:41:39 +1100
committerNicolas James <nj3ahxac@gmail.com>2026-03-10 22:41:39 +1100
commitf10074d9897850b9b746ff8d8e0b2dc4af24f3ff (patch)
tree4609d86b8222115c3e3d19824748861cbec78e20 /src/timestamp_pool.cc
parent50f009b81218c5367031ce9c51089ecddc2e853a (diff)
Don't advertise anti lag if the PD doesn't support it
Diffstat (limited to 'src/timestamp_pool.cc')
-rw-r--r--src/timestamp_pool.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/timestamp_pool.cc b/src/timestamp_pool.cc
index e8ef9f5..7230bb9 100644
--- a/src/timestamp_pool.cc
+++ b/src/timestamp_pool.cc
@@ -148,7 +148,7 @@ TimestampPool::Handle::get_time() {
return std::nullopt;
}
- return device_ctx.clock.ticks_to_time(query_result.value);
+ return device_ctx.clock->ticks_to_time(query_result.value);
}
std::optional<DeviceContext::Clock::time_point_t>