Part: modernize C++: return braced init list
This commit is contained in:
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user