mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-14 13:30:48 +03:00
0033375: Coding - Static Analyzing processing. Performance
Performance update applied: - moving to const reference as much as possible Result of CLANG_TIDY (static analyzing filter: perform*)
This commit is contained in:
@@ -163,7 +163,7 @@ void BRepMAT2d_Explorer::Add(const TopoDS_Wire& Spine,
|
||||
|
||||
// Treatment of the next edges:
|
||||
for (; anExp.More(); anExp.Next()) {
|
||||
TopoDS_Edge anEdge = anExp.Current();
|
||||
const TopoDS_Edge& anEdge = anExp.Current();
|
||||
|
||||
anOldNewE.Add(anEdge, anEdge);
|
||||
C2d = BRep_Tool::CurveOnSurface (anEdge, aFace, UFirst, ULast);
|
||||
|
Reference in New Issue
Block a user