Salome HOME
Correction of compilation error.
authorskl <skl@opencascade.com>
Tue, 23 Jan 2007 15:02:20 +0000 (15:02 +0000)
committerskl <skl@opencascade.com>
Tue, 23 Jan 2007 15:02:20 +0000 (15:02 +0000)
src/SMESH/SMESH_Octree.cxx

index 5b224ae5d8ff163c56c6b4a097cb6373e3f43bea..eb8a7ec826477d63a2dfb81df52d0421a7182f9d 100644 (file)
@@ -135,7 +135,7 @@ void SMESH_Octree::Compute()
 //=================================================================
 void SMESH_Octree::buildChildren()
 {
-  myChildren = new (SMESH_Octree*)[8];
+  myChildren = new SMESH_Octree*[8];
 
   gp_XYZ min = myBox->CornerMin();
   gp_XYZ max = myBox->CornerMax();