Part: modernize C++: return braced init list

This commit is contained in:
wmayer
2023-08-19 11:01:36 +02:00
parent 9d780d223a
commit c8abd4a6d4
56 changed files with 128 additions and 128 deletions

View File

@@ -170,7 +170,7 @@ PartExport std::list<TopoDS_Edge> sort_Edges(double tol3d, std::list<TopoDS_Edge
}
if (edge_points.empty())
return std::list<TopoDS_Edge>();
return {};
std::list<TopoDS_Edge> sorted;
gp_Pnt first, last;