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

@ -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
(