diff options
Diffstat (limited to 'compat')
-rw-r--r-- | compat/time.hpp | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/compat/time.hpp b/compat/time.hpp index bc422abe..64cdc6f7 100644 --- a/compat/time.hpp +++ b/compat/time.hpp @@ -13,9 +13,9 @@ static inline constexpr auto time_cast(u&& in) return std::chrono::duration_cast<t>(in); } -using secs = duration<double>; -using ms = duration<double, std::milli>; -using us = duration<double, std::micro>; -using ns = duration<double, std::nano>; +using secs = duration<float>; +using ms = duration<float, std::milli>; +using us = duration<float, std::micro>; +using ns = duration<float, std::nano>; } // ns time_units |