Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
tidy up PropertyHolder
[simgrid.git] / src / smpi / include / smpi_group.hpp
index 96078433a83a65741eb55be98d391b5ab257fa0a..e82bedc91c9f05c7ac9d216ed8327757826ef3ed 100644 (file)
@@ -25,15 +25,16 @@ class Group : public F2C{
   std::vector<int> index_to_rank_map_;
 
   int refcount_ = 1; /* refcount_: start > 0 so that this group never gets freed */
+
 public:
   Group() = default;
   explicit Group(int size) : size_(size), rank_to_actor_map_(size, nullptr), index_to_rank_map_(size, MPI_UNDEFINED) {}
   explicit Group(Group* origin);
 
-  void set_mapping(s4u::ActorPtr actor, int rank);
+  void set_mapping(s4u::Actor* actor, int rank);
   int rank(int index);
-  s4u::ActorPtr actor(int rank);
-  int rank(s4u::ActorPtr process);
+  s4u::Actor* actor(int rank);
+  int rank(s4u::Actor* process);
   void ref();
   static void unref(MPI_Group group);
   int size() { return size_; }