Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Coding style: ! -> 'not'.
[simgrid.git] / src / smpi / include / smpi_keyvals.hpp
index d323786..e2f9662 100644 (file)
@@ -139,7 +139,7 @@ template <typename T> int Keyval::attr_put(int keyval, void* attr_value){
   elem->refcount++;
   int flag=0;
   auto p = attributes()->insert({keyval, attr_value});
-  if (!p.second) {
+  if (not p.second) {
     int ret = call_deleter<T>((T*)this, elem, keyval,p.first->second,&flag);
     // overwrite previous value
     p.first->second = attr_value;