diff --git a/src/OpenFOAM/db/IOobject/IOobject.H b/src/OpenFOAM/db/IOobject/IOobject.H index f5c4c93ddd..e8f35947f7 100644 --- a/src/OpenFOAM/db/IOobject/IOobject.H +++ b/src/OpenFOAM/db/IOobject/IOobject.H @@ -520,12 +520,11 @@ public: //- Write the standard end file divider static Ostream& writeEndDivider(Ostream& os); - //- Write header with current type(). - // Optionally without arch information when ASCII - bool writeHeader(Ostream& os, const bool noArchAscii=false) const; + //- Write header with current type() and arch information + bool writeHeader(Ostream& os) const; - //- Write header with override of type. - // Optionally without arch information when ASCII + //- Write header with override of type and optionally without + //- arch information in ASCII bool writeHeader ( Ostream& os, diff --git a/src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C b/src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C index 9f596f4148..2ea386443e 100644 --- a/src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C +++ b/src/OpenFOAM/db/IOobject/IOobjectWriteHeader.C @@ -171,9 +171,9 @@ bool Foam::IOobject::writeHeader } -bool Foam::IOobject::writeHeader(Ostream& os, const bool noArchAscii) const +bool Foam::IOobject::writeHeader(Ostream& os) const { - return writeHeader(os, type(), noArchAscii); + return writeHeader(os, type()); }