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:
@@ -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)
|
||||
{
|
||||
|
Reference in New Issue
Block a user