PR: compilation gcc 4.4.1

This commit is contained in:
prascle 2009-12-17 13:24:58 +00:00
parent 8bc3c946fb
commit 4c404631f4
2 changed files with 5 additions and 5 deletions

View File

@ -92,7 +92,7 @@ bool SMDS_MeshElementIDFactory::BindID(int ID, SMDS_MeshElement * elem)
// --- retreive nodes ID
vector<int> nodeIds;
vector<vtkIdType> nodeIds;
SMDS_ElemIteratorPtr it = elem->nodesIterator();
while(it->more())
{

View File

@ -142,14 +142,14 @@ class SMDS_MeshNode_MyInvIterator:public SMDS_ElemIterator
{
private:
SMDS_Mesh* myMesh;
int* myCells;
vtkIdType* myCells;
int myNcells;
SMDSAbs_ElementType myType;
int iter;
public:
SMDS_MeshNode_MyInvIterator(SMDS_Mesh *mesh,
int* cells,
vtkIdType* cells,
int ncells,
SMDSAbs_ElementType type):
myMesh(mesh), myCells(cells), myNcells(ncells), myType(type), iter(0)
@ -186,7 +186,7 @@ class SMDS_MeshNode_MyIterator:public SMDS_ElemIterator
{
private:
SMDS_Mesh* myMesh;
int* myCells;
vtkIdType* myCells;
int myNcells;
SMDSAbs_ElementType myType;
int iter;
@ -194,7 +194,7 @@ private:
public:
SMDS_MeshNode_MyIterator(SMDS_Mesh *mesh,
int* cells,
vtkIdType* cells,
int ncells,
SMDSAbs_ElementType type):
myMesh(mesh), myCells(cells), myNcells(ncells), myType(type), iter(0)