From d1bcd98f79c35eff78188a47e7ac3c869f3df1dc Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 21 Sep 2018 20:42:30 +0200 Subject: [PATCH] Chrono: add FloatDuration --- src/Chrono.hxx | 2 ++ 1 file changed, 2 insertions(+) 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 #include +using FloatDuration = std::chrono::duration; + /** * A time stamp within a song. Granularity is 1 millisecond and the * maximum value is about 49 days.