Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
MC: inline a function that is now trivial
[simgrid.git] / src / mc / VisitedState.cpp
index 5e4f99c453a3a36405a647f71e5a743fd45d5207..2d39dedf8eeb046c6fba25d1cb6eba5892fea69a 100644 (file)
@@ -33,7 +33,7 @@ VisitedState::VisitedState(unsigned long state_number) : num(state_number)
 
   this->actors_count = mc_model_checker->process().actors().size();
 
-  this->system_state = simgrid::mc::take_snapshot(state_number);
+  this->system_state = std::make_shared<simgrid::mc::Snapshot>(state_number);
   this->original_num = -1;
 }