From: ageay Date: Tue, 20 Jul 2010 11:03:39 +0000 (+0000) Subject: For windows. X-Git-Tag: V5_1_main_FINAL~85 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=53866a654b122198c58ef66b027fe31430c4f155;p=tools%2Fmedcoupling.git For windows. --- diff --git a/src/MEDCoupling/MEDCouplingUMesh.cxx b/src/MEDCoupling/MEDCouplingUMesh.cxx index fbec8fc3d..342fc33a8 100644 --- a/src/MEDCoupling/MEDCouplingUMesh.cxx +++ b/src/MEDCoupling/MEDCouplingUMesh.cxx @@ -626,7 +626,7 @@ DataArrayInt *MEDCouplingUMesh::zipConnectivityTraducer(int compType) } id++; } - MEDCouplingUMesh *self=(MEDCouplingUMesh *)buildPartOfMySelf(&cellsToKeep[0],&cellsToKeep[cellsToKeep.size()],true); + MEDCouplingUMesh *self=(MEDCouplingUMesh *)buildPartOfMySelf(&cellsToKeep[0],&cellsToKeep[0]+cellsToKeep.size(),true); setConnectivity(self->getNodalConnectivity(),self->getNodalConnectivityIndex(),true); self->decrRef(); return ret;