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:
@ -457,7 +457,7 @@ bool Foam::functionObjects::vtkWrite::write()
|
||||
auto writer = autoPtr<vtk::patchWriter>::New
|
||||
(
|
||||
meshProxy.mesh(),
|
||||
labelList(one(), pp.index()),
|
||||
labelList(one{}, pp.index()),
|
||||
writeOpts_,
|
||||
// Output name for patch: "boundary"/name
|
||||
(
|
||||
|
||||
Reference in New Issue
Block a user