Instance: un-inline the constructor

This commit is contained in:
Max Kellermann 2017-02-17 23:21:41 +01:00
parent 90d25a40a0
commit 9a909d9f27
2 changed files with 6 additions and 2 deletions

View File

@ -34,6 +34,11 @@
#include <stdexcept>
Instance::Instance()
:idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle))
{
}
#ifdef ENABLE_DATABASE
const Database &

View File

@ -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().