STYLE: use 'operator>>' instead of readLabel and readScalar

This commit is contained in:
Mark Olesen
2019-07-30 14:52:46 +02:00
committed by Andrew Heather
parent 743311df7d
commit b0d32ce1b4
15 changed files with 51 additions and 64 deletions

View File

@ -77,8 +77,7 @@ Foam::findCellParticle::findCellParticle
{
if (is.format() == IOstream::ASCII)
{
is >> start_ >> end_;
data_ = readLabel(is);
is >> start_ >> end_ >> data_;
}
else
{