Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
convert src/mc/mc_replay.h into mc_replay.hpp (+ don't use C linkage on C++ datatypes)
[simgrid.git] / src / mc / mc_state.hpp
index edef946f0893ef1246a293625b1f4bd06df9aa9e..d14e7fd9d4d61a0daecb20d60bf2ced1eac635bc 100644 (file)
@@ -125,7 +125,7 @@ public:
   std::vector<std::vector<simgrid::mc::PatternCommunication>> incomplete_comm_pattern;
   std::vector<unsigned> communicationIndices;
 
-  State(unsigned long state_number);
+  explicit State(unsigned long state_number);
 
   std::size_t interleaveSize() const;
   void addInterleavingSet(smx_actor_t actor) { this->actorStates[actor->pid].consider(); }