Commit b7c8a45d authored by Mark OLESEN's avatar Mark OLESEN
Browse files

STYLE: bracket instead of braces on List constructors

- avoid potential future mistakes if someone adds a sizing dimension
  and finds they have inadvertently called construct labelList with
  `{std::initializer_list<label>}` instead of `label`
parent 7b5c6868
......@@ -284,12 +284,12 @@ Foam::slidingInterface::slidingInterface
// The face zone addressing is written out in the definition dictionary
masterFaceCellsPtr_.reset(new labelList{});
slaveFaceCellsPtr_.reset(new labelList{});
masterStickOutFacesPtr_.reset(new labelList{});
slaveStickOutFacesPtr_.reset(new labelList{});
retiredPointMapPtr_.reset(new Map<label>{});
cutPointEdgePairMapPtr_.reset(new Map<Pair<edge>>{});
masterFaceCellsPtr_.reset(new labelList());
slaveFaceCellsPtr_.reset(new labelList());
masterStickOutFacesPtr_.reset(new labelList());
slaveStickOutFacesPtr_.reset(new labelList());
retiredPointMapPtr_.reset(new Map<label>());
cutPointEdgePairMapPtr_.reset(new Map<Pair<edge>>());
dict.readEntry("masterFaceCells", *masterFaceCellsPtr_);
dict.readEntry("slaveFaceCells", *slaveFaceCellsPtr_);
......@@ -127,7 +127,7 @@ public:
const labelList& meshCells
meshedSurface(pointLst, faceLst, surfZoneList{}),
meshedSurface(pointLst, faceLst, surfZoneList()),
......@@ -142,7 +142,7 @@ public:
Supports Markdown
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment