Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Constify attribute.
[simgrid.git] / src / smpi / internals / smpi_replay.cpp
index 278f0a5..d38d6f9 100644 (file)
@@ -394,10 +394,9 @@ public:
 template <class T> class ReplayAction {
 protected:
   const std::string name;
+  const int my_proc_id;
   T args;
 
-  int my_proc_id;
-
 public:
   explicit ReplayAction(std::string name) : name(name), my_proc_id(simgrid::s4u::this_actor::getPid()) {}
   virtual ~ReplayAction() = default;