Fix crash in StreamLogger::~StreamLogger

This commit is contained in:
Gunnar Beutner 2014-11-13 19:44:51 +01:00
parent aad4b48812
commit 0324cbff7c
2 changed files with 6 additions and 0 deletions

View File

@ -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.
*/

View File

@ -38,6 +38,8 @@ class I2_BASE_API StreamLogger : public ObjectImpl<StreamLogger>
public:
DECLARE_OBJECT(StreamLogger);
StreamLogger(void);
virtual void Start(void);
virtual void Stop(void);
~StreamLogger(void);