From fa253d385f9201ea10beacecf3e0e80ff69f3138 Mon Sep 17 00:00:00 2001 From: MarcoFalke Date: Fri, 8 Apr 2022 12:32:15 +0200 Subject: [PATCH] util: Add HoursDouble --- src/util/time.h | 1 + 1 file changed, 1 insertion(+) diff --git a/src/util/time.h b/src/util/time.h index c75b1e94ed1..4f9bde5d563 100644 --- a/src/util/time.h +++ b/src/util/time.h @@ -55,6 +55,7 @@ constexpr int64_t count_seconds(std::chrono::seconds t) { return t.count(); } constexpr int64_t count_milliseconds(std::chrono::milliseconds t) { return t.count(); } constexpr int64_t count_microseconds(std::chrono::microseconds t) { return t.count(); } +using HoursDouble = std::chrono::duration; using SecondsDouble = std::chrono::duration; /**