mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-08-09 13:22:24 +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:
@@ -474,7 +474,7 @@ static Standard_Integer MemLeakTest(Draw_Interpretor&, Standard_Integer /*nbarg*
|
||||
w.Close();
|
||||
TopoDS_Wire wireShape( w.Wire());
|
||||
BRepBuilderAPI_MakeFace faceBuilder(wireShape);
|
||||
TopoDS_Face f( faceBuilder.Face());
|
||||
const TopoDS_Face& f = faceBuilder.Face();
|
||||
BRepMesh_IncrementalMesh im(f,1);
|
||||
BRepTools::Clean(f);
|
||||
}
|
||||
|
Reference in New Issue
Block a user