mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: avoid flush when dictionary {} closing (issue #1145)
- a holdover from introducing the endBlock() method
This commit is contained in:
@ -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();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -86,7 +86,7 @@ void Foam::Function1Types::Sine<Type>::writeData(Ostream& os) const
|
||||
scale_->writeData(os);
|
||||
level_->writeData(os);
|
||||
|
||||
os.endBlock() << flush;
|
||||
os.endBlock();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -89,7 +89,7 @@ void Foam::Function1Types::Square<Type>::writeData(Ostream& os) const
|
||||
scale_->writeData(os);
|
||||
level_->writeData(os);
|
||||
|
||||
os.endBlock() << flush;
|
||||
os.endBlock();
|
||||
}
|
||||
|
||||
|
||||
|
||||
@ -87,7 +87,7 @@ void Foam::Function1Types::TableFile<Type>::writeData(Ostream& os) const
|
||||
|
||||
os.writeEntry("file", fName_);
|
||||
|
||||
os.endBlock() << flush;
|
||||
os.endBlock();
|
||||
}
|
||||
|
||||
|
||||
|
||||
Reference in New Issue
Block a user