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

Instance: un-inline the constructor

parent 90d25a40
...@@ -34,6 +34,11 @@ ...@@ -34,6 +34,11 @@
#include <stdexcept> #include <stdexcept>
Instance::Instance()
:idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle))
{
}
#ifdef ENABLE_DATABASE #ifdef ENABLE_DATABASE
const Database & const Database &
......
...@@ -91,8 +91,7 @@ struct Instance final ...@@ -91,8 +91,7 @@ struct Instance final
StateFile *state_file = nullptr; StateFile *state_file = nullptr;
Instance() Instance();
:idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)) {}
/** /**
* Initiate shutdown. Wrapper for EventLoop::Break(). * 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