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