Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Obey coding standard for the field names in mc:State.
[simgrid.git] / src / mc / VisitedState.cpp
index 24e3c5c..cb4d2d9 100644 (file)
@@ -51,7 +51,7 @@ VisitedStates::addVisitedState(unsigned long state_number, simgrid::mc::State* g
 {
   std::unique_ptr<simgrid::mc::VisitedState> new_state =
     std::unique_ptr<simgrid::mc::VisitedState>(new VisitedState(state_number));
-  graph_state->system_state = new_state->system_state;
+  graph_state->system_state_ = new_state->system_state;
   XBT_DEBUG("Snapshot %p of visited state %d (exploration stack state %d)", new_state->system_state.get(),
             new_state->num, graph_state->num_);