]> SALOME platform Git repositories - tools/medcoupling.git/commitdiff
Salome HOME
API modification : input string have type :
authorageay <ageay>
Wed, 22 Jan 2014 14:18:11 +0000 (14:18 +0000)
committerageay <ageay>
Wed, 22 Jan 2014 14:18:11 +0000 (14:18 +0000)
const std::string& instead of const char *

src/MEDLoader/MEDFileFieldOverView.cxx

index 3b89bbac38b6e75278c25d1b035055b562513328..825a780e57708903c583d795b7d5dbf975257f4c 100644 (file)
@@ -1203,7 +1203,7 @@ MEDMeshMultiLev *MEDCMeshMultiLev::prepare() const
       if(MEDCouplingStructuredMesh::IsPartStructured(pfl->begin(),pfl->end(),cgs,cellParts))
         {
           MEDCouplingAutoRefCountObjectPtr<MEDCMeshMultiLev> ret(new MEDCMeshMultiLev(*this));
-         ret->_is_internal=false;
+          ret->_is_internal=false;
           if(nr)
             { nnr=nr->deepCpy(); nnr->sort(true); ret->setNodeReduction(nnr); }
           ret->_nb_entities[0]=pfl->getNumberOfTuples();
@@ -1341,7 +1341,7 @@ MEDMeshMultiLev *MEDCurveLinearMeshMultiLev::prepare() const
             }
           MEDCouplingAutoRefCountObjectPtr<DataArrayInt> p(MEDCouplingStructuredMesh::BuildExplicitIdsFrom(ngs,nodeParts));
           MEDCouplingAutoRefCountObjectPtr<MEDCurveLinearMeshMultiLev> ret(new MEDCurveLinearMeshMultiLev(*this));
-         ret->_is_internal=false;
+          ret->_is_internal=false;
           if(nr)
             { nnr=nr->deepCpy(); nnr->sort(true); ret->setNodeReduction(nnr); }
           ret->_nb_entities[0]=pfl->getNumberOfTuples();