Part: modernize C++: use range-based for loop

This commit is contained in:
wmayer
2023-08-15 17:28:50 +02:00
committed by Chris Hennes
parent 3e09b8ee2d
commit 7cb51a4980
49 changed files with 364 additions and 365 deletions

View File

@@ -284,8 +284,8 @@ void ExtrusionHelper::makeDraft(const TopoDS_Shape& shape,
}
else
// we already have the results
for (auto it = shells.begin(); it != shells.end(); ++it)
drafts.push_back(*it);
for (const auto & shell : shells)
drafts.push_back(shell);
}
else { // no solid
BRepBuilderAPI_Sewing sewer;