mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
hopefully the last of the NamedEnum out-of-bounds
This commit is contained in:
@ -61,7 +61,7 @@ Foam::IPstream::IPstream
|
||||
|
||||
MPI_Status status;
|
||||
|
||||
// If the buffer size is not specified probe the incomming message
|
||||
// If the buffer size is not specified, probe the incomming message
|
||||
// and set it
|
||||
if (!bufSize)
|
||||
{
|
||||
@ -181,8 +181,7 @@ Foam::label Foam::IPstream::read
|
||||
(
|
||||
"IPstream::read"
|
||||
"(const int fromProcNo, char* buf, std::streamsize bufSize)"
|
||||
) << "Unsupported communications type "
|
||||
<< Pstream::commsTypeNames[commsType]
|
||||
) << "Unsupported communications type " << commsType
|
||||
<< Foam::abort(FatalError);
|
||||
|
||||
return 0;
|
||||
|
||||
@ -119,8 +119,7 @@ bool Foam::OPstream::write
|
||||
(
|
||||
"OPstream::write"
|
||||
"(const int fromProcNo, char* buf, std::streamsize bufSize)"
|
||||
) << "Unsupported communications type "
|
||||
<< Pstream::commsTypeNames[commsType]
|
||||
) << "Unsupported communications type " << commsType
|
||||
<< Foam::abort(FatalError);
|
||||
}
|
||||
|
||||
|
||||
Reference in New Issue
Block a user