1
0
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:
dpasukhi
2023-05-06 22:56:45 +00:00
committed by vglukhik
parent 77181844b8
commit 52cbf180cd
265 changed files with 603 additions and 611 deletions

View File

@@ -181,10 +181,10 @@ static void UpdateEdge (const TopoDS_Edge& E,
//purpose : Particular case of Curve On Surface.
//=======================================================================
static void ComputeCurve3d(TopoDS_Edge Edge,
static void ComputeCurve3d(const TopoDS_Edge& Edge,
const Handle(Geom2d_Curve)& Curve,
const Handle(Geom_Surface)& Surf,
const TopLoc_Location Loc,
const TopLoc_Location& Loc,
Standard_Real Tol)
{
// try to find the particular case