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:
@@ -211,8 +211,8 @@ static Standard_Boolean MinimizeDirection(const math_Vector& P0,
|
||||
tol1d /= 3;
|
||||
|
||||
//JR/Hp :
|
||||
math_Vector PP0 = P0 ;
|
||||
math_Vector PP1 = P1 ;
|
||||
const math_Vector& PP0 = P0 ;
|
||||
const math_Vector& PP1 = P1 ;
|
||||
Delta = PP1 - PP0;
|
||||
// Delta = P1 - P0;
|
||||
invnorme = Delta.Norm();
|
||||
|
Reference in New Issue
Block a user