diff --git a/components/compat/compatlogger.cpp b/components/compat/compatlogger.cpp index c064b49fa..d0c26f1ec 100644 --- a/components/compat/compatlogger.cpp +++ b/components/compat/compatlogger.cpp @@ -42,10 +42,6 @@ using namespace icinga; REGISTER_TYPE(CompatLogger); REGISTER_SCRIPTFUNCTION(ValidateRotationMethod, &CompatLogger::ValidateRotationMethod); -CompatLogger::CompatLogger(void) - : m_LastRotation(0) -{ } - /** * @threadsafety Always. */ diff --git a/components/compat/compatlogger.h b/components/compat/compatlogger.h index fb99f2639..ca61376e6 100644 --- a/components/compat/compatlogger.h +++ b/components/compat/compatlogger.h @@ -39,16 +39,12 @@ public: DECLARE_PTR_TYPEDEFS(CompatLogger); DECLARE_TYPENAME(CompatLogger); - CompatLogger(void); - static void ValidateRotationMethod(const String& location, const Dictionary::Ptr& attrs); protected: virtual void Start(void); private: - double m_LastRotation; - void WriteLine(const String& line); void Flush(void);