Salome HOME
projects
/
modules
/
smesh.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
|
inline
| side by side (parent:
f572be3
)
Fix compilation error on some platforms.
author
rnv
<rnv@opencascade.com>
Thu, 17 Nov 2016 09:32:01 +0000
(12:32 +0300)
committer
rnv
<rnv@opencascade.com>
Thu, 17 Nov 2016 09:32:01 +0000
(12:32 +0300)
src/SMESHDS/SMESHDS_Mesh.cxx
patch
|
blob
|
history
diff --git
a/src/SMESHDS/SMESHDS_Mesh.cxx
b/src/SMESHDS/SMESHDS_Mesh.cxx
index bdd2239d12664b870e51fad420b6f4a8cd858ea8..e7a10d7fe1eb3ee3f20414306606c850a6caf8e3 100644
(file)
--- a/
src/SMESHDS/SMESHDS_Mesh.cxx
+++ b/
src/SMESHDS/SMESHDS_Mesh.cxx
@@
-2202,7
+2202,7
@@
void SMESHDS_Mesh::compactMesh()
if ( true )
{
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++)
{
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();
vector<int> newVtkToSmds(newCellSize+1, -1);
int myCellsSize = myCells.size();