mc_model_checker->exit(status);
}
-void Api::restore_state(simgrid::mc::Snapshot* system_state) const
+void Api::restore_state(const simgrid::mc::Snapshot* system_state) const
{
system_state->restore(&mc_model_checker->get_remote_process());
}
XBT_ATTRIB_NORETURN void mc_exit(int status) const;
// STATE APIs
- void restore_state(Snapshot* system_state) const;
+ void restore_state(const Snapshot* system_state) const;
// SNAPSHOT APIs
bool snapshot_equal(const Snapshot* s1, const Snapshot* s2) const;