From: rnv Date: Thu, 17 Nov 2016 09:32:01 +0000 (+0300) Subject: Fix compilation error on some platforms. X-Git-Tag: V8_2_0rc1~11 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=270d55cf05539c2cfbe303b6d9775bb42b62b860;p=modules%2Fsmesh.git Fix compilation error on some platforms. --- diff --git a/src/SMESHDS/SMESHDS_Mesh.cxx b/src/SMESHDS/SMESHDS_Mesh.cxx index bdd2239d1..e7a10d7fe 100644 --- a/src/SMESHDS/SMESHDS_Mesh.cxx +++ b/src/SMESHDS/SMESHDS_Mesh.cxx @@ -2202,7 +2202,7 @@ void SMESHDS_Mesh::compactMesh() if ( true ) { - SetOfNodes newNodes(newNodeSize+1,0); // 0 not used, SMDS numbers 1..n + SetOfNodes newNodes(newNodeSize+1,NULL); // 0 not used, SMDS numbers 1..n int newSmdsId = 0; for (int i = 0; i < nbNodes; i++) { @@ -2233,7 +2233,7 @@ void SMESHDS_Mesh::compactMesh() } } - SetOfCells newCells(newCellSize+1, 0); // 0 not used, SMDS numbers 1..n + SetOfCells newCells(newCellSize+1, NULL); // 0 not used, SMDS numbers 1..n vector newVtkToSmds(newCellSize+1, -1); int myCellsSize = myCells.size();