mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
BUG: messageStream: select output under communicator
This commit is contained in:
@ -188,12 +188,12 @@ Foam::OSstream& Foam::messageStream::operator()
|
||||
|
||||
Foam::OSstream& Foam::messageStream::operator()(const bool output)
|
||||
{
|
||||
if (output && level)
|
||||
if (level)
|
||||
{
|
||||
bool collect = (severity_ == INFO || severity_ == WARNING);
|
||||
|
||||
// Report the error
|
||||
if (collect)
|
||||
if (!output && collect)
|
||||
{
|
||||
return Snull;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user