]> AND Public Git Repository - simgrid.git/blobdiff - src/smpi/mpi/smpi_info.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Replace redundant type with 'auto'.
[simgrid.git] / src / smpi / mpi / smpi_info.cpp
index ed832a6e278753c21f8ab432a6605fdea962d307..33be51967cf3980b6dae947db8a1c968d57a1dc8 100644 (file)
@@ -4,6 +4,7 @@
  * under the terms of the license (GNU LGPL) which comes with this package. */
 
 #include "smpi_info.hpp"
+#include "smpi_comm.hpp"
 #include "simgrid/Exception.hpp"
 
 namespace simgrid {
@@ -17,7 +18,7 @@ void Info::ref()
 void Info::unref(Info* info){
   info->refcount_--;
   if(info->refcount_==0){
-    F2C::free_f(info->c2f());
+    F2C::free_f(info->f2c_id());
     delete info;
   }
 }