Instance: un-inline the constructor
This commit is contained in:
parent
90d25a40a0
commit
9a909d9f27
@ -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
|
|||||||
|
|
||||||
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().
|
||||||
|
Loading…
Reference in New Issue
Block a user