diff options
Diffstat (limited to 'include/mbgl/util/chrono.hpp')
-rw-r--r-- | include/mbgl/util/chrono.hpp | 16 |
1 files changed, 16 insertions, 0 deletions
diff --git a/include/mbgl/util/chrono.hpp b/include/mbgl/util/chrono.hpp new file mode 100644 index 0000000000..df8c5e6234 --- /dev/null +++ b/include/mbgl/util/chrono.hpp @@ -0,0 +1,16 @@ +#ifndef MBGL_UTIL_CHRONO +#define MBGL_UTIL_CHRONO + +#include <chrono> + +namespace mbgl { + +using Clock = std::chrono::steady_clock; +using SystemClock = std::chrono::system_clock; + +using TimePoint = Clock::time_point; +using Duration = Clock::duration; + +} + +#endif |