From: eap Date: Thu, 1 Oct 2009 05:43:26 +0000 (+0000) Subject: const double * MEDCouplingNormalizedCartesianMesh::getCoordsAlongA... X-Git-Tag: V5_1_main_FINAL~326 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=a94455dab9288ce601880ee1221d6c769aa283ba;p=tools%2Fmedcoupling.git const double * MEDCouplingNormalizedCartesianMesh::getCoordsAlongAxis(int axis) const { - return _mesh->getCoordsAt(axis)->getPointer(); + return _mesh->getCoordsAt(axis)->getConstPointer(); } --- diff --git a/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx b/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx index ec8d2cac0..16b715337 100644 --- a/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx +++ b/src/MEDCoupling/MEDCouplingNormalizedCartesianMesh.txx @@ -53,5 +53,5 @@ unsigned long MEDCouplingNormalizedCartesianMesh::nbCellsAlong template const double * MEDCouplingNormalizedCartesianMesh::getCoordsAlongAxis(int axis) const { - return _mesh->getCoordsAt(axis)->getPointer(); + return _mesh->getCoordsAt(axis)->getConstPointer(); }