Switch back to emplace_back

This commit is contained in:
Chris Hennes
2024-06-25 13:13:21 -05:00
parent 49e214729c
commit 89698f647b

View File

@@ -3079,7 +3079,7 @@ TopoShape& TopoShape::makeElementWires(const std::vector<TopoShape>& shapes,
std::vector<TopoShape> wires;
for (int i = 1; i <= hWires->Length(); i++) {
auto wire = hWires->Value(i);
wires.push_back(TopoShape(Tag,Hasher,wire));
wires.emplace_back(Tag,Hasher,wire);
wires.back().mapSubElement(shapes, op);
}
return makeElementCompound(wires, "", SingleShapeCompoundCreationPolicy::returnShape);