From 9a909d9f27998cb5ce5480978963e82f1c9ad5d9 Mon Sep 17 00:00:00 2001 From: Max Kellermann Date: Fri, 17 Feb 2017 23:21:41 +0100 Subject: [PATCH] Instance: un-inline the constructor --- src/Instance.cxx | 5 +++++ src/Instance.hxx | 3 +-- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/src/Instance.cxx b/src/Instance.cxx index 9ddec2eea..53cb00a33 100644 --- a/src/Instance.cxx +++ b/src/Instance.cxx @@ -34,6 +34,11 @@ #include +Instance::Instance() + :idle_monitor(event_loop, BIND_THIS_METHOD(OnIdle)) +{ +} + #ifdef ENABLE_DATABASE const Database & diff --git a/src/Instance.hxx b/src/Instance.hxx index d3391d64f..13cacc28b 100644 --- a/src/Instance.hxx +++ b/src/Instance.hxx @@ -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().