Fix compiler warnings in the CompatLogger class.

Refs #5349
This commit is contained in:
Gunnar Beutner 2013-12-17 07:54:41 +01:00
parent dac4ac02a9
commit 53c1434700
2 changed files with 0 additions and 8 deletions

View File

@ -42,10 +42,6 @@ using namespace icinga;
REGISTER_TYPE(CompatLogger);
REGISTER_SCRIPTFUNCTION(ValidateRotationMethod, &CompatLogger::ValidateRotationMethod);
CompatLogger::CompatLogger(void)
: m_LastRotation(0)
{ }
/**
* @threadsafety Always.
*/

View File

@ -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);