STYLE: for Istream/Ostream check() use FUNCTION_NAME in messages

This commit is contained in:
Mark Olesen
2017-05-26 10:59:16 +02:00
parent 0564efb9e1
commit 2af602c2f4
147 changed files with 270 additions and 851 deletions

View File

@ -244,7 +244,7 @@ void Foam::sampledSurface::print(Ostream& os) const
Foam::Ostream& Foam::operator<<(Ostream &os, const sampledSurface& s)
{
s.print(os);
os.check("Ostream& operator<<(Ostream&, const sampledSurface&");
os.check(FUNCTION_NAME);
return os;
}