mirror of
https://git.salome-platform.org/gitpub/modules/smesh.git
synced 2024-12-26 17:30:35 +05:00
Fix compilation error on some platforms.
This commit is contained in:
parent
f572be3197
commit
270d55cf05
@ -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<int> newVtkToSmds(newCellSize+1, -1);
|
||||
|
||||
int myCellsSize = myCells.size();
|
||||
|
Loading…
Reference in New Issue
Block a user