diff options
Diffstat (limited to 'compat/time.hpp')
-rw-r--r-- | compat/time.hpp | 6 |
1 files changed, 0 insertions, 6 deletions
diff --git a/compat/time.hpp b/compat/time.hpp index 64cdc6f7..0d171038 100644 --- a/compat/time.hpp +++ b/compat/time.hpp @@ -7,12 +7,6 @@ namespace time_units { template<typename repr, typename ratio = std::ratio<1>> using duration = std::chrono::duration<repr, ratio>; -template<typename t, typename u> -static inline constexpr auto time_cast(u&& in) -{ - return std::chrono::duration_cast<t>(in); -} - using secs = duration<float>; using ms = duration<float, std::milli>; using us = duration<float, std::micro>; |