STYLE: prefer REGISTER/NO_REGISTER instead of true/false for IOobject

- self-documenting
This commit is contained in:
Mark Olesen
2023-03-10 13:44:46 +00:00
parent 20566a87f5
commit 25bc7d65f7
333 changed files with 706 additions and 740 deletions

View File

@ -213,7 +213,7 @@ bool Foam::functionObjects::solverInfo::write()
mesh_,
IOobject::NO_READ,
IOobject::NO_WRITE,
false
IOobject::NO_REGISTER
),
mesh_,
dimensionedScalar(dimless, Zero),

View File

@ -97,7 +97,7 @@ bool Foam::functionObjects::writeDictionary::tryDirectory
obr_,
IOobject::MUST_READ,
IOobject::NO_WRITE,
false
IOobject::NO_REGISTER
);
if (dictIO.typeHeaderOk<IOdictionary>(true))