mirror of
https://github.com/XRPLF/rippled.git
synced 2025-11-04 11:15:56 +00:00
Fix severity check on ~ScopedStream
This commit is contained in:
@@ -86,10 +86,7 @@ Journal::ScopedStream::ScopedStream (Stream const& stream, std::ostream& manip (
|
||||
Journal::ScopedStream::~ScopedStream ()
|
||||
{
|
||||
if (! m_ostream.str().empty())
|
||||
{
|
||||
if (m_sink.active (m_severity))
|
||||
m_sink.write (m_severity, m_ostream.str());
|
||||
}
|
||||
m_sink.write (m_severity, m_ostream.str());
|
||||
}
|
||||
|
||||
void Journal::ScopedStream::init ()
|
||||
|
||||
Reference in New Issue
Block a user