summaryrefslogtreecommitdiff
path: root/src/lib/systemd
diff options
context:
space:
mode:
authorMax Kellermann <max@musicpd.org>2020-10-08 19:35:36 +0200
committerMax Kellermann <max@musicpd.org>2020-10-08 20:48:50 +0200
commiteeb96eb36753c60ec9a515c5a74ebd7bc2b4daf5 (patch)
treeecda991a1bc462f274d5ae4eb46bb2b621637f41 /src/lib/systemd
parentce93e589444ac2c74fd0b8a4e5bf88c951863a06 (diff)
event/TimerEvent: add type alias for std::chrono::steady_clock::duration
Diffstat (limited to 'src/lib/systemd')
-rw-r--r--src/lib/systemd/Watchdog.hxx2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/systemd/Watchdog.hxx b/src/lib/systemd/Watchdog.hxx
index 6803f137a..1c0fa8d5b 100644
--- a/src/lib/systemd/Watchdog.hxx
+++ b/src/lib/systemd/Watchdog.hxx
@@ -42,7 +42,7 @@ namespace Systemd {
class Watchdog {
TimerEvent timer;
- std::chrono::steady_clock::duration interval;
+ Event::Duration interval;
public:
explicit Watchdog(EventLoop &_loop) noexcept;