util: Add HoursDouble

This commit is contained in:
MarcoFalke authored and MacroFake committed 2022-07-26 11:04:14 +02:00
1 parent fa21fc60c2
commit fa253d385f
1 file changed
+1
+1
View File
@@ -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<double, std::chrono::hours::period>;
using SecondsDouble = std::chrono::duration<double, std::chrono::seconds::period>;
/**