diff options
author | Tor Egge <Tor.Egge@yahooinc.com> | 2023-03-05 15:19:28 +0100 |
---|---|---|
committer | Tor Egge <Tor.Egge@yahooinc.com> | 2023-03-05 15:19:28 +0100 |
commit | 2945b6656b8943d1720471ad343b43cc9a854d01 (patch) | |
tree | fd9b91af01c00e6ab31eb882f21af529d0ce015d /vespalog | |
parent | cbdce1cc7d96f4eced79a8d4a50b71fa1dcd831e (diff) |
Use system time duration in vespalog.
Diffstat (limited to 'vespalog')
-rw-r--r-- | vespalog/src/vespa/log/internal.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/vespalog/src/vespa/log/internal.h b/vespalog/src/vespa/log/internal.h index 7e6bf16f39f..02fd1693775 100644 --- a/vespalog/src/vespa/log/internal.h +++ b/vespalog/src/vespa/log/internal.h @@ -22,7 +22,7 @@ public: }; using system_time = std::chrono::system_clock::time_point; -using duration = std::chrono::nanoseconds; +using duration = system_time::duration; constexpr int64_t count_s(duration d) noexcept { |