From: ageay Date: Wed, 22 Jan 2014 14:18:11 +0000 (+0000) Subject: API modification : input string have type : X-Git-Tag: V7_3_1b1^2~18 X-Git-Url: http://git.salome-platform.org/gitweb/?a=commitdiff_plain;h=9e4bf3ee45af3cbfac76443f978a0799cc437cf1;p=modules%2Fmed.git API modification : input string have type : const std::string& instead of const char * --- diff --git a/src/MEDLoader/MEDFileFieldOverView.cxx b/src/MEDLoader/MEDFileFieldOverView.cxx index 3b89bbac3..825a780e5 100644 --- a/src/MEDLoader/MEDFileFieldOverView.cxx +++ b/src/MEDLoader/MEDFileFieldOverView.cxx @@ -1203,7 +1203,7 @@ MEDMeshMultiLev *MEDCMeshMultiLev::prepare() const if(MEDCouplingStructuredMesh::IsPartStructured(pfl->begin(),pfl->end(),cgs,cellParts)) { MEDCouplingAutoRefCountObjectPtr 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 p(MEDCouplingStructuredMesh::BuildExplicitIdsFrom(ngs,nodeParts)); MEDCouplingAutoRefCountObjectPtr 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(); diff --git a/src/MEDOP/gui/DatasourceController.cxx b/src/MEDOP/gui/DatasourceController.cxx index 861fb441c..5aa5cc734 100644 --- a/src/MEDOP/gui/DatasourceController.cxx +++ b/src/MEDOP/gui/DatasourceController.cxx @@ -192,7 +192,7 @@ void DatasourceController::OnAddDatasource() if ( filenames.count() <= 0 ) return; for ( QStringList::ConstIterator itFile = filenames.begin(); - itFile != filenames.end(); ++itFile ) { + itFile != filenames.end(); ++itFile ) { QString filename = *itFile; this->addDatasource(QCHARSTAR(filename)); _salomeModule->updateObjBrowser(true);