BUG: Corrected error macro usage

This commit is contained in:
andy
2016-02-25 15:18:09 +00:00
parent c520c3b62b
commit 939a42df6d

View File

@ -86,7 +86,7 @@ void Foam::ensightSurfaceReader::readCase(IFstream& is)
if (!is.good()) if (!is.good())
{ {
FatalErrorInFile FatalErrorInFunction
<< "Cannot read file " << is.name() << "Cannot read file " << is.name()
<< exit(FatalError); << exit(FatalError);
} }
@ -197,7 +197,7 @@ const Foam::meshedSurface& Foam::ensightSurfaceReader::geometry()
if (!is.good()) if (!is.good())
{ {
FatalErrorInFile FatalErrorInFunction
<< "Cannot read file " << is.name() << "Cannot read file " << is.name()
<< exit(FatalError); << exit(FatalError);
} }