mirror of
https://git.dev.opencascade.org/repos/occt.git
synced 2025-09-03 14:10:33 +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:
@@ -736,7 +736,7 @@ void Add(const TopoDS_Shape& aS,
|
||||
return;
|
||||
}
|
||||
//
|
||||
TopoDS_Shape aSx = aS;
|
||||
const TopoDS_Shape& aSx = aS;
|
||||
//
|
||||
anIndex=myShapes.FindIndex(aSx);
|
||||
if (!anIndex) {
|
||||
|
Reference in New Issue
Block a user