Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[sonar] Convert integer literals to bool literals.
[simgrid.git] / src / mc / VisitedState.cpp
index b586034..2216f07 100644 (file)
@@ -19,12 +19,12 @@ namespace mc {
 /** @brief Save the current state */
 VisitedState::VisitedState(unsigned long state_number) : num(state_number)
 {
-  simgrid::mc::RemoteClientMemory* process = &(mc_model_checker->process());
+  simgrid::mc::RemoteSimulation* process = &(mc_model_checker->get_remote_simulation());
   this->heap_bytes_used = mmalloc_get_bytes_used_remote(
     process->get_heap()->heaplimit,
     process->get_malloc_info());
 
-  this->actors_count = mc_model_checker->process().actors().size();
+  this->actors_count = mc_model_checker->get_remote_simulation().actors().size();
 
   this->system_state = std::make_shared<simgrid::mc::Snapshot>(state_number);
 }