X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08835cc95982fa241576ee7b09006d5f97914584..9692d43fa911bdc2d6d0263a3cb3e22d5e3167fe:/src/mc/VisitedState.hpp diff --git a/src/mc/VisitedState.hpp b/src/mc/VisitedState.hpp index 364c8bfa52..13691af2e3 100644 --- a/src/mc/VisitedState.hpp +++ b/src/mc/VisitedState.hpp @@ -23,7 +23,7 @@ struct XBT_PRIVATE VisitedState { int num = 0; int other_num = 0; // dot_output for - VisitedState(); + VisitedState(unsigned long state_number); ~VisitedState(); }; @@ -31,7 +31,7 @@ class XBT_PRIVATE VisitedStates { std::vector> states_; public: void clear() { states_.clear(); } - std::unique_ptr addVisitedState(simgrid::mc::State* graph_state, bool compare_snpashots); + std::unique_ptr addVisitedState(unsigned long state_number, simgrid::mc::State* graph_state, bool compare_snpashots); private: void prune(); };