mirror of
https://github.com/OPM/ResInsight.git
synced 2025-02-25 18:55:39 -06:00
Add std::flush to RiaStdOutLogger::writeMessageToLogger
For testing of instant std::cout when running in console mode
This commit is contained in:
parent
2207bf47e8
commit
3156953c80
@ -358,7 +358,7 @@ void RiuMessageLoggerBase::writeMessageWithPrefixToLogger( const char* prefix, c
|
|||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
void RiaStdOutLogger::writeMessageToLogger( const std::string& str )
|
void RiaStdOutLogger::writeMessageToLogger( const std::string& str )
|
||||||
{
|
{
|
||||||
std::cout << str;
|
std::cout << str << std::flush;
|
||||||
}
|
}
|
||||||
|
|
||||||
//--------------------------------------------------------------------------------------------------
|
//--------------------------------------------------------------------------------------------------
|
||||||
|
Loading…
Reference in New Issue
Block a user