Salome HOME
scotch6.0.4 needs pthread... Quick and dirty solution to be improved
[tools/medcoupling.git] / src / MEDCoupling / MEDCouplingRefCountObject.cxx
index c75f7934ad79213aabc0eb24fe86c403f470faec..b7e08b45aa54556587edca3bd70a1e51899e9c7e 100644 (file)
@@ -75,6 +75,15 @@ const char *MEDCoupling::MEDCouplingByteOrderStr()
     return BIGENDIAN_STR;
 }
 
+bool MEDCoupling::IsCXX11Compiled()
+{
+#if __cplusplus >= 201103L
+  return true;
+#else
+  return false;
+#endif
+}
+
 //=
 
 std::size_t BigMemoryObject::getHeapMemorySize() const
@@ -330,7 +339,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<std::string, std::string>::const_iterator it(_my_map.find(key));
   if(it!=_my_map.end())
@@ -339,12 +348,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