summaryrefslogtreecommitdiff
path: root/gitstatus/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
commit97fac973afa021ae3ef49e0feae203fd09b231e1 (patch)
tree5c1ba4f09905cc53fdfc75d3668a876d3e14a447 /gitstatus/src/time.h
parentc159f3aaefe13724421655d06df990b2ddf23e59 (diff)
parent1531d6e5439daae01627b2645684876b75eaf5eb (diff)
Merge commit '1531d6e5439daae01627b2645684876b75eaf5eb' as 'gitstatus'
Diffstat (limited to 'gitstatus/src/time.h')
-rw-r--r--gitstatus/src/time.h14
1 files changed, 14 insertions, 0 deletions
diff --git a/gitstatus/src/time.h b/gitstatus/src/time.h
new file mode 100644
index 00000000..cdd5fa27
--- /dev/null
+++ b/gitstatus/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_