From: Gunnar Beutner Date: Mon, 9 Sep 2013 12:09:33 +0000 (+0200) Subject: Fix null ptr for Application::GetInstance(). X-Git-Tag: v0.0.3~588 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=a14e72c29281794dbaf63ce4ebefe88bca7bbbbb;p=icinga2 Fix null ptr for Application::GetInstance(). --- diff --git a/lib/base/application.cpp b/lib/base/application.cpp index 8d8868a7c..193594bc4 100644 --- a/lib/base/application.cpp +++ b/lib/base/application.cpp @@ -51,7 +51,7 @@ char **Application::m_ArgV; /** * Constructor for the Application class. */ -void Application::Start(void) +void Application::OnConfigLoaded(void) { DynamicObject::Start(); diff --git a/lib/base/application.h b/lib/base/application.h index 0ae70dbad..964e28c34 100644 --- a/lib/base/application.h +++ b/lib/base/application.h @@ -87,7 +87,7 @@ public: static ThreadPool& GetTP(void); protected: - virtual void Start(void); + virtual void OnConfigLoaded(void); virtual void Stop(void); void RunEventLoop(void) const;