Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Sonar: use lowercase for field names.
[simgrid.git] / src / smpi / include / smpi_group.hpp
index 64812ca..4637dea 100644 (file)
@@ -8,6 +8,7 @@
 #define SMPI_GROUP_HPP_INCLUDED
 
 #include "smpi_f2c.hpp"
+#include <smpi/smpi.h>
 
 namespace simgrid{
 namespace smpi{
@@ -16,7 +17,7 @@ class Group : public F2C{
   private:
     int size_;
     int *rank_to_index_map_;
-    xbt_dict_t index_to_rank_map_;
+    std::unordered_map<int, int> index_to_rank_map_;
     int refcount_;
   public:
     explicit Group();