From 53866a654b122198c58ef66b027fe31430c4f155 Mon Sep 17 00:00:00 2001 From: ageay Date: Tue, 20 Jul 2010 11:03:39 +0000 Subject: [PATCH] For windows. --- src/MEDCoupling/MEDCouplingUMesh.cxx | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.39.2