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:
@@ -1066,7 +1066,7 @@ void Draft_Modification::Perform ()
|
||||
{
|
||||
for (i = 1; i <= i2s.NbLines(); i++)
|
||||
{
|
||||
Handle( Geom_Curve ) aCurve = i2s.Line(i);
|
||||
const Handle( Geom_Curve )& aCurve = i2s.Line(i);
|
||||
gp_Pnt Pnt = aCurve->Value( aCurve->FirstParameter() );
|
||||
GeomAPI_ProjectPointOnSurf projector( Pnt, S1, Precision::Confusion() );
|
||||
Standard_Real U, V;
|
||||
|
Reference in New Issue
Block a user