Part: Fix several clazy issues:
* Maybe you meant to call Primitive::onChanged() instead [-Wclazy-skipped-base-method] * Maybe you meant to call Primitive::mustExecute() instead [-Wclazy-skipped-base-method] * Missing reference in range-for with non trivial type [-Wclazy-range-loop-reference] * Use multi-arg instead [-Wclazy-qstring-arg] * Use midRef() instead [-Wclazy-qstring-ref]
This commit is contained in:
@@ -136,7 +136,7 @@ void BRepOffsetAPI_MakeOffsetFix::MakeWire(TopoDS_Shape& wire)
|
||||
}
|
||||
|
||||
std::list<TopoDS_Edge> edgeList;
|
||||
for (auto itLoc : myLocations) {
|
||||
for (const auto& itLoc : myLocations) {
|
||||
TopTools_ListOfShape newShapes = mkOffset.Generated(itLoc.first);
|
||||
// Check generated shapes for the vertexes, too
|
||||
TopExp_Explorer xpv(itLoc.first, TopAbs_VERTEX);
|
||||
|
||||
Reference in New Issue
Block a user