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:
Mark Olesen
2020-10-24 13:32:44 +02:00
parent 98d05fa80a
commit 07bbae0c55
35 changed files with 71 additions and 71 deletions

View File

@ -95,7 +95,7 @@ Description
auto writer = autoPtr<vtk::patchWriter>::New
(
meshProxy.mesh(),
labelList(one(), pp.index()),
labelList(one{}, pp.index()),
writeOpts,
nearCellValue,
(

View File

@ -195,7 +195,7 @@ Description
auto writer = autoPtr<vtk::patchWriter>::New
(
meshProxy.mesh(),
labelList(one(), pp.index()),
labelList(one{}, pp.index()),
writeOpts,
nearCellValue,
// Output patch: "boundary"/name