hopefully the last of the NamedEnum out-of-bounds

This commit is contained in:
Mark Olesen
2008-06-17 16:14:34 +02:00
parent 045a08c9db
commit 992d33b28a
2 changed files with 3 additions and 5 deletions

View File

@ -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);
}