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:
@ -95,7 +95,7 @@ Description
|
||||
auto writer = autoPtr<vtk::patchWriter>::New
|
||||
(
|
||||
meshProxy.mesh(),
|
||||
labelList(one(), pp.index()),
|
||||
labelList(one{}, pp.index()),
|
||||
writeOpts,
|
||||
nearCellValue,
|
||||
(
|
||||
|
||||
@ -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
|
||||
|
||||
Reference in New Issue
Block a user