Instance: use C++11 initializers

This commit is contained in:
Max Kellermann
2023-07-23 09:13:36 +02:00
parent 1c37b0487c
commit 43d633f560
2 changed files with 4 additions and 11 deletions

View File

@@ -35,14 +35,7 @@
#endif
#endif
Instance::Instance()
:rtio_thread(true),
#ifdef ENABLE_SYSTEMD_DAEMON
systemd_watchdog(event_loop),
#endif
idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle))
{
}
Instance::Instance() = default;
Instance::~Instance() noexcept
{