mirror of
https://develop.openfoam.com/Development/openfoam.git
synced 2025-11-28 03:28:01 +00:00
STYLE: use brace constructors for Foam::zero and Foam::one
- makes it clearer that these are constructors and not function calls
This commit is contained in:
@ -446,7 +446,7 @@ int main(int argc, char *argv[])
|
||||
|
||||
|
||||
// Default exposed patch id
|
||||
labelList exposedPatchIDs(one(), -1);
|
||||
labelList exposedPatchIDs(one{}, -1);
|
||||
|
||||
if (args.found("patches"))
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user