aboutsummaryrefslogtreecommitdiff
path: root/src/timestamp_pool.cc
diff options
context:
space:
mode:
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 4ca1d5a..e02a4fc 100644
--- a/src/timestamp_pool.cc
+++ b/src/timestamp_pool.cc
@@ -167,7 +167,7 @@ TimestampPool::Handle::get_time_spinlock(
auto time = this->get_time();
for (; !time.has_value(); time = this->get_time()) {
- if (const auto now = std::chrono::steady_clock::now(); now >= until) {
+ if (const auto now = DeviceContext::Clock::now(); now >= until) {
break;
}
}