X-Git-Url: http://git.salome-platform.org/gitweb/?a=blobdiff_plain;f=src%2FMEDCoupling%2FMEDCouplingRefCountObject.cxx;h=725c1cf19a17212cac7b6c5e2827276e4f4debef;hb=ac1df6b0ba8b337555fb39610c89f678d889580d;hp=c75f7934ad79213aabc0eb24fe86c403f470faec;hpb=e69d39395db60a1edc0caad7a76c769f1b34628d;p=tools%2Fmedcoupling.git diff --git a/src/MEDCoupling/MEDCouplingRefCountObject.cxx b/src/MEDCoupling/MEDCouplingRefCountObject.cxx index c75f7934a..725c1cf19 100644 --- a/src/MEDCoupling/MEDCouplingRefCountObject.cxx +++ b/src/MEDCoupling/MEDCouplingRefCountObject.cxx @@ -330,7 +330,7 @@ void GlobalDict::clear() _my_map.clear(); } -void GlobalDict::setKeyValue(const std::string& key, const std::string& value) +void GlobalDict::setKeyValue(const std::string& key, const std::string& val) { std::map::const_iterator it(_my_map.find(key)); if(it!=_my_map.end()) @@ -339,12 +339,12 @@ void GlobalDict::setKeyValue(const std::string& key, const std::string& value) oss << "GlobalDict::setKeyValue : key \"" << key << "\" already exists !"; throw INTERP_KERNEL::Exception(oss.str().c_str()); } - _my_map[key]=value; + _my_map[key]=val; } -void GlobalDict::setKeyValueForce(const std::string& key, const std::string& value) +void GlobalDict::setKeyValueForce(const std::string& key, const std::string& val) { - _my_map[key]=value; + _my_map[key]=val; } std::string GlobalDict::printSelf() const