diff --git a/lib/base/streamlogger.cpp b/lib/base/streamlogger.cpp index e5ec78641..a8e353b4a 100644 --- a/lib/base/streamlogger.cpp +++ b/lib/base/streamlogger.cpp @@ -29,6 +29,10 @@ REGISTER_TYPE(StreamLogger); boost::mutex StreamLogger::m_Mutex; +StreamLogger::StreamLogger(void) + : m_Stream(NULL), m_OwnsStream(false) +{ } + /** * Constructor for the StreamLogger class. */ diff --git a/lib/base/streamlogger.hpp b/lib/base/streamlogger.hpp index d9682fb08..c2aee91d4 100644 --- a/lib/base/streamlogger.hpp +++ b/lib/base/streamlogger.hpp @@ -38,6 +38,8 @@ class I2_BASE_API StreamLogger : public ObjectImpl public: DECLARE_OBJECT(StreamLogger); + StreamLogger(void); + virtual void Start(void); virtual void Stop(void); ~StreamLogger(void);