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

@ -185,12 +185,7 @@ Foam::wallBoundedStreamLineParticle::wallBoundedStreamLineParticle
}
}
// Check state of Istream
is.check
(
"wallBoundedStreamLineParticle::wallBoundedStreamLineParticle"
"(const Cloud<wallBoundedStreamLineParticle>&, Istream&, bool)"
);
is.check(FUNCTION_NAME);
}
@ -422,12 +417,7 @@ Foam::Ostream& Foam::operator<<
<< token::SPACE << p.sampledScalars_
<< token::SPACE << p.sampledVectors_;
// Check state of Ostream
os.check
(
"Ostream& operator<<(Ostream&, const wallBoundedStreamLineParticle&)"
);
os.check(FUNCTION_NAME);
return os;
}