diff --git a/src/Controls/SMESH_Controls.cxx b/src/Controls/SMESH_Controls.cxx index efb84e240..3e1d2f960 100644 --- a/src/Controls/SMESH_Controls.cxx +++ b/src/Controls/SMESH_Controls.cxx @@ -4524,7 +4524,7 @@ OctreeClassifier::OctreeClassifier( const OctreeClassifier* } else if ( otherTree->myChildren ) { - myChildren = new SMESH_Tree*[ 8 ]; + myChildren = new SMESH_Tree < Bnd_B3d, 8 >*[ 8 ]; for ( int i = 0; i < nbChildren(); i++ ) myChildren[i] = new OctreeClassifier( static_cast( otherTree->myChildren[i]),