summaryrefslogtreecommitdiffhomepage
path: root/compat/time.hpp
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2018-08-03 04:43:28 +0000
committerStanislaw Halik <sthalik@misaki.pl>2018-08-04 13:41:56 +0000
commitc172c327c2b927427c24a7e3a5f345673d0e5929 (patch)
treed1e2d0a1fcb3619bfa0b453b743db78b37e2b727 /compat/time.hpp
parente841b3324655b5862dc6d79d482b2af474239791 (diff)
logic/pipeline: rotation order fixrevert-geometry-stuff
v2: fix comments v3: fix reltrans
Diffstat (limited to 'compat/time.hpp')
-rw-r--r--compat/time.hpp6
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>;