diff options
author | Max Kellermann <max@musicpd.org> | 2018-09-21 20:42:30 +0200 |
---|---|---|
committer | Max Kellermann <max@musicpd.org> | 2018-09-21 20:42:30 +0200 |
commit | d1bcd98f79c35eff78188a47e7ac3c869f3df1dc (patch) | |
tree | e8c2ca27649c38780729c4031b25bfbd19ec8c8a /src/Chrono.hxx | |
parent | 39542de69d8729b5f7c1271a0494f1a221434075 (diff) |
Chrono: add FloatDuration
Diffstat (limited to 'src/Chrono.hxx')
-rw-r--r-- | src/Chrono.hxx | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/src/Chrono.hxx b/src/Chrono.hxx index b57ff3e62..4261dcaaf 100644 --- a/src/Chrono.hxx +++ b/src/Chrono.hxx @@ -24,6 +24,8 @@ #include <utility> #include <cstdint> +using FloatDuration = std::chrono::duration<double>; + /** * A time stamp within a song. Granularity is 1 millisecond and the * maximum value is about 49 days. |