event/TimerEvent: add type alias for std::chrono::steady_clock::duration

This commit is contained in:
Max Kellermann
2020-10-08 19:35:36 +02:00
parent ce93e58944
commit eeb96eb367
19 changed files with 84 additions and 51 deletions

View File

@@ -29,7 +29,7 @@
* UpdateService::Enqueue(). This increases the probability that
* updates can be bundled.
*/
static constexpr std::chrono::steady_clock::duration INOTIFY_UPDATE_DELAY =
static constexpr Event::Duration INOTIFY_UPDATE_DELAY =
std::chrono::seconds(5);
void