1
0
mirror of https://git.dev.opencascade.org/repos/occt.git synced 2025-08-09 13:22:24 +03:00

0024274: Eliminate GCC compiler warning (wrong initialize order)

Eliminated GCC compiler warning about wrong initialize order
This commit is contained in:
ski
2013-10-21 12:04:56 +04:00
committed by bugmaster
parent 84f4830127
commit 2f6cb3ac69
13 changed files with 37 additions and 33 deletions

View File

@@ -50,8 +50,9 @@ Voxel_FastConverter::Voxel_FastConverter(const TopoDS_Shape& shape,
const Standard_Boolean useExistingTriangulation)
:myShape(shape),myVoxels(&voxels),
myDeflection(deflection),
myIsBool(2),
myNbX(nbx),myNbY(nby),myNbZ(nbz),
myIsBool(2),myNbThreads(nbthreads),
myNbThreads(nbthreads),
myNbTriangles(0),
myUseExistingTriangulation(useExistingTriangulation)
{
@@ -68,8 +69,9 @@ Voxel_FastConverter::Voxel_FastConverter(const TopoDS_Shape& shape,
const Standard_Boolean useExistingTriangulation)
:myShape(shape),myVoxels(&voxels),
myDeflection(deflection),
myIsBool(1),
myNbX(nbx),myNbY(nby),myNbZ(nbz),
myIsBool(1),myNbThreads(nbthreads),
myNbThreads(nbthreads),
myNbTriangles(0),
myUseExistingTriangulation(useExistingTriangulation)
{
@@ -86,8 +88,9 @@ Voxel_FastConverter::Voxel_FastConverter(const TopoDS_Shape& shape,
const Standard_Boolean useExistingTriangulation)
:myShape(shape),myVoxels(&voxels),
myDeflection(deflection),
myIsBool(0),
myNbX(nbx),myNbY(nby),myNbZ(nbz),
myIsBool(0),myNbThreads(nbthreads),
myNbThreads(nbthreads),
myNbTriangles(0),
myUseExistingTriangulation(useExistingTriangulation)
{