Skip to content
Snippets Groups Projects

Fix uninitialized MsgStream member.

Merged Scott Snyder requested to merge ssnyder/Gaudi:uninit-MsgStream-20170523 into atlas/v28r2
1 file
+ 2
0
Compare changes
  • Side-by-side
  • Inline
@@ -44,6 +44,7 @@ MsgStream::MsgStream(IMessageSvc* svc, int)
: m_service(svc)
{
setLevel( svc ? svc->outputLevel() : MSG::INFO );
m_currLevel = m_level;
m_useColors = ( svc ? svc->useColor() : false );
#ifndef NDEBUG
m_inactCounter = svc ? Gaudi::Cast<IInactiveMessageCounter>(svc) : 0;
@@ -55,6 +56,7 @@ MsgStream::MsgStream(IMessageSvc* svc, std::string source, int)
m_source(std::move(source))
{
setLevel( svc ? svc->outputLevel(m_source) : MSG::INFO );
m_currLevel = m_level;
m_useColors = ( svc && svc->useColor() );
#ifndef NDEBUG
m_inactCounter = svc ? Gaudi::Cast<IInactiveMessageCounter>(svc) : 0;
Loading