X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/633e10e9d14bde1225977c96e1da28d942a21074..23ad0edad9b87da76eb071d8402188d4506d9e44:/src/mc/mc_safety.h diff --git a/src/mc/mc_safety.h b/src/mc/mc_safety.h index 8e7503f4da..60c177f1f9 100644 --- a/src/mc/mc_safety.h +++ b/src/mc/mc_safety.h @@ -32,7 +32,7 @@ enum class ReductionMode { extern XBT_PRIVATE simgrid::mc::ReductionMode reduction_mode; struct XBT_PRIVATE VisitedState { - simgrid::mc::Snapshot* system_state = nullptr; + std::shared_ptr system_state = nullptr; size_t heap_bytes_used = 0; int nb_processes = 0; int num = 0; @@ -43,7 +43,7 @@ struct XBT_PRIVATE VisitedState { }; extern XBT_PRIVATE std::vector> visited_states; -XBT_PRIVATE std::unique_ptr is_visited_state(mc_state_t graph_state); +XBT_PRIVATE std::unique_ptr is_visited_state(simgrid::mc::State* graph_state, bool compare_snpashots); } }