diff --git a/lib/remote/apilistener.cpp b/lib/remote/apilistener.cpp index 04874b831..cda6ccd75 100644 --- a/lib/remote/apilistener.cpp +++ b/lib/remote/apilistener.cpp @@ -42,6 +42,10 @@ boost::signals2::signal ApiListener::OnMasterChanged; REGISTER_STATSFUNCTION(ApiListenerStats, &ApiListener::StatsFunc); +ApiListener::ApiListener(void) + : m_LogMessageCount(0) +{ } + void ApiListener::OnConfigLoaded(void) { /* set up SSL context */ diff --git a/lib/remote/apilistener.hpp b/lib/remote/apilistener.hpp index 122169eca..642db025e 100644 --- a/lib/remote/apilistener.hpp +++ b/lib/remote/apilistener.hpp @@ -47,6 +47,8 @@ public: static boost::signals2::signal OnMasterChanged; + ApiListener(void); + static ApiListener::Ptr GetInstance(void); boost::shared_ptr GetSSLContext(void) const;