summaryrefslogtreecommitdiff
path: root/src/time.h
diff options
context:
space:
mode:
authorromkatv <roman.perepelitsa@gmail.com>2020-05-10 16:58:05 +0300
committerromkatv <roman.perepelitsa@gmail.com>2020-05-10 16:58:05 +0300
commit1531d6e5439daae01627b2645684876b75eaf5eb (patch)
tree05ed820f16dbb04be4b4b8ec3055f93431518773 /src/time.h
Squashed 'gitstatus/' content from commit 6b9ba17
git-subtree-dir: gitstatus git-subtree-split: 6b9ba179c6655286c4c399e7926d5098dd6bd706
Diffstat (limited to 'src/time.h')
-rw-r--r--src/time.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/src/time.h b/src/time.h
new file mode 100644
index 00000000..cdd5fa27
--- /dev/null
+++ b/src/time.h
@@ -0,0 +1,14 @@
+#ifndef ROMKATV_GITSTATUS_TIME_H_
+#define ROMKATV_GITSTATUS_TIME_H_
+
+#include <chrono>
+
+namespace gitstatus {
+
+using Clock = std::chrono::steady_clock;
+using Time = Clock::time_point;
+using Duration = Clock::duration;
+
+} // namespace gitstatus
+
+#endif // ROMKATV_GITSTATUS_TIME_H_