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:
@ -148,7 +148,7 @@ IOobject createIOobject
|
||||
mesh,
|
||||
rOpt,
|
||||
IOobject::NO_WRITE,
|
||||
false // do not register
|
||||
IOobject::NO_REGISTER
|
||||
);
|
||||
}
|
||||
|
||||
@ -377,7 +377,7 @@ int main(int argc, char *argv[])
|
||||
mesh,
|
||||
IOobject::NO_READ,
|
||||
IOobject::NO_WRITE,
|
||||
false // do not register
|
||||
IOobject::NO_REGISTER
|
||||
),
|
||||
mesh,
|
||||
dimensionedScalar(dimless, scalar(1)),
|
||||
|
||||
Reference in New Issue
Block a user