STYLE: avoid flush when dictionary {} closing (issue #1145)

- a holdover from introducing the endBlock() method
This commit is contained in:
Mark Olesen
2019-01-03 19:12:12 +01:00
parent 6a448016aa
commit e596377179
10 changed files with 13 additions and 13 deletions

View File

@ -284,7 +284,7 @@ void Foam::Function1Types::CSV<Type>::writeData(Ostream& os) const
os.writeEntry("mergeSeparators", mergeSeparators_);
os.writeEntry("file", fName_);
os.endBlock() << flush;
os.endBlock();
}

View File

@ -86,7 +86,7 @@ void Foam::Function1Types::Sine<Type>::writeData(Ostream& os) const
scale_->writeData(os);
level_->writeData(os);
os.endBlock() << flush;
os.endBlock();
}

View File

@ -89,7 +89,7 @@ void Foam::Function1Types::Square<Type>::writeData(Ostream& os) const
scale_->writeData(os);
level_->writeData(os);
os.endBlock() << flush;
os.endBlock();
}

View File

@ -87,7 +87,7 @@ void Foam::Function1Types::TableFile<Type>::writeData(Ostream& os) const
os.writeEntry("file", fName_);
os.endBlock() << flush;
os.endBlock();
}