diff options
Diffstat (limited to 'src')
-rw-r--r-- | src/Instance.cxx | 5 | ||||
-rw-r--r-- | src/Instance.hxx | 3 |
2 files changed, 6 insertions, 2 deletions
diff --git a/src/Instance.cxx b/src/Instance.cxx index 9ddec2eea..53cb00a33 100644 --- a/src/Instance.cxx +++ b/src/Instance.cxx @@ -34,6 +34,11 @@ #include <stdexcept> +Instance::Instance() + :idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)) +{ +} + #ifdef ENABLE_DATABASE const Database & diff --git a/src/Instance.hxx b/src/Instance.hxx index d3391d64f..13cacc28b 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -91,8 +91,7 @@ struct Instance final StateFile *state_file = nullptr; - Instance() - :idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)) {} + Instance(); /** * Initiate shutdown. Wrapper for EventLoop::Break(). |