1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-14 13:30:48 +03:00

Coding - Reorganize code with constexpr #68

After rework Precision.hxx some local
  variables can be marked as constexpr
This commit is contained in:
dpasukhi
2024-09-22 12:33:29 +00:00
parent 72c6d55bf2
commit 8082b955bd
171 changed files with 373 additions and 369 deletions

View File

@@ -195,7 +195,7 @@ TopoDS_Edge HLRBRep::MakeEdge3d(const HLRBRep_Curve& ec,
TopoDS_Vertex V1, V2, V1new, V2new;
TopExp::Vertices(anEdge, V1, V2);
Standard_Real Tol = Precision::PConfusion();
constexpr Standard_Real Tol = Precision::PConfusion();
if (Abs(fpar - U1) <= Tol)
V1new = V1;
else