From: Arnaud Giersch Date: Tue, 3 Apr 2018 08:45:55 +0000 (+0200) Subject: Constify attribute. X-Git-Tag: v3.20~542 X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/9d439641afcc9aaf7a0a9a5e0db3651373a6d293 Constify attribute. --- diff --git a/src/smpi/internals/smpi_replay.cpp b/src/smpi/internals/smpi_replay.cpp index 278f0a5bf0..d38d6f9515 100644 --- a/src/smpi/internals/smpi_replay.cpp +++ b/src/smpi/internals/smpi_replay.cpp @@ -394,10 +394,9 @@ public: template 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;