From 4c404631f4402ab5a4201a1e52259115713e92cd Mon Sep 17 00:00:00 2001 From: prascle Date: Thu, 17 Dec 2009 13:24:58 +0000 Subject: [PATCH] PR: compilation gcc 4.4.1 --- src/SMDS/SMDS_MeshElementIDFactory.cxx | 2 +- src/SMDS/SMDS_MeshNode.cxx | 8 ++++---- 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/src/SMDS/SMDS_MeshElementIDFactory.cxx b/src/SMDS/SMDS_MeshElementIDFactory.cxx index 2dd43e6d0..58658c5b2 100644 --- a/src/SMDS/SMDS_MeshElementIDFactory.cxx +++ b/src/SMDS/SMDS_MeshElementIDFactory.cxx @@ -92,7 +92,7 @@ bool SMDS_MeshElementIDFactory::BindID(int ID, SMDS_MeshElement * elem) // --- retreive nodes ID - vector nodeIds; + vector nodeIds; SMDS_ElemIteratorPtr it = elem->nodesIterator(); while(it->more()) { diff --git a/src/SMDS/SMDS_MeshNode.cxx b/src/SMDS/SMDS_MeshNode.cxx index d10ec465d..5b6f517fd 100644 --- a/src/SMDS/SMDS_MeshNode.cxx +++ b/src/SMDS/SMDS_MeshNode.cxx @@ -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) -- 2.39.2