STYLE: Updated template code

This commit is contained in:
Andrew Heather
2016-06-17 14:11:59 +01:00
parent ad73063ebd
commit 9e84deeb09
12 changed files with 33 additions and 32 deletions

View File

@ -97,7 +97,7 @@ List<Vb::Point> pointFile::initialPoints() const
if (points.empty())
{
FatalErrorIn("List<Vb::Point> pointFile::initialPoints() const")
FatalErrorInFunction
<< "Point file contain no points"
<< exit(FatalError) << endl;
}
@ -128,7 +128,7 @@ List<Vb::Point> pointFile::initialPoints() const
if (points.empty())
{
FatalErrorIn("List<Vb::Point> pointFile::initialPoints() const")
FatalErrorInFunction
<< "Point file contain no points"
<< exit(FatalError) << endl;
}
@ -170,7 +170,7 @@ List<Vb::Point> pointFile::initialPoints() const
}
else
{
FatalErrorIn("List<Vb::Point> pointFile::initialPoints() const")
FatalErrorInFunction
<< "Cannot find points file " << pointsIO.objectPath()
<< exit(FatalError) << endl;
}