summaryrefslogtreecommitdiff
path: root/Source/cmDuration.h
diff options
context:
space:
mode:
Diffstat (limited to 'Source/cmDuration.h')
-rw-r--r--Source/cmDuration.h8
1 files changed, 8 insertions, 0 deletions
diff --git a/Source/cmDuration.h b/Source/cmDuration.h
new file mode 100644
index 0000000000..5f73585208
--- /dev/null
+++ b/Source/cmDuration.h
@@ -0,0 +1,8 @@
+/* Distributed under the OSI-approved BSD 3-Clause License. See accompanying
+ file Copyright.txt or https://cmake.org/licensing for details. */
+#pragma once
+
+#include <chrono>
+#include <ratio>
+
+typedef std::chrono::duration<double, std::ratio<1>> cmDuration;