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

Coding - Initialize member variables with default values #362

Clang-tidy applying rule for cppcoreguidelines-pro-type-member-init.
Updated: TKernel and TKMath
Update constructor in some classes instead of direct initialization
Refactor Bnd_BoundSortBox and Bnd_Box constructors to initialize member variables directly
This commit is contained in:
Pasukhin Dmitry
2025-02-12 15:26:00 +01:00
committed by GitHub
parent a8950426b5
commit fb73c3b712
35 changed files with 120 additions and 77 deletions

View File

@@ -26,7 +26,8 @@
Convert_CompBezierCurves2dToBSplineCurve2d::Convert_CompBezierCurves2dToBSplineCurve2d(
const Standard_Real AngularTolerance)
: myAngular(AngularTolerance),
: myDegree(0),
myAngular(AngularTolerance),
myDone(Standard_False)
{
}