Commit 9a909d9f authored by Max Kellermann's avatar Max Kellermann

Instance: un-inline the constructor

parent 90d25a40
......@@ -34,6 +34,11 @@
#include <stdexcept>
Instance::Instance()
:idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle))
{
}
#ifdef ENABLE_DATABASE
const Database &
......
......@@ -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().
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment