STYLE: writeEntry instead of writeKeyword + END

This commit is contained in:
Mark Olesen
2019-01-11 11:03:36 +01:00
parent dcb6969361
commit 6c419174e1
7 changed files with 12 additions and 21 deletions

View File

@ -602,8 +602,7 @@ void Foam::PatchFunction1Types::MappedFile<Type>::writeData
// bc)
if (dictConstructed_)
{
os.writeKeyword(this->name()) << type();
os << token::END_STATEMENT << nl;
os.writeEntry(this->name(), type());
os.writeEntryIfDifferent
(