mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: prefer REGISTER/NO_REGISTER instead of true/false for IOobject
- self-documenting
This commit is contained in:
@ -55,7 +55,7 @@ Foam::label Foam::checkData
|
||||
mesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false // no register
|
||||
IOobject::NO_REGISTER
|
||||
).typeHeaderOk<volScalarField>(false, false);
|
||||
|
||||
if (!good)
|
||||
|
||||
Reference in New Issue
Block a user