Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[mc] Fix some XBT_DEBUG
authorGabriel Corona <gabriel.corona@loria.fr>
Wed, 30 Mar 2016 14:30:10 +0000 (16:30 +0200)
committerGabriel Corona <gabriel.corona@loria.fr>
Wed, 30 Mar 2016 14:30:10 +0000 (16:30 +0200)
src/mc/mc_visited.cpp

index 0e54ecb..8c2e869 100644 (file)
@@ -90,7 +90,8 @@ std::unique_ptr<simgrid::mc::VisitedState> is_visited_state(simgrid::mc::State*
     std::unique_ptr<simgrid::mc::VisitedState>(new VisitedState());
   graph_state->system_state = new_state->system_state;
   graph_state->in_visited_states = 1;
-  XBT_DEBUG("Snapshot %p of visited state %d (exploration stack state %d)", new_state->system_state, new_state->num, graph_state->num);
+  XBT_DEBUG("Snapshot %p of visited state %d (exploration stack state %d)",
+    new_state->system_state.get(), new_state->num, graph_state->num);
 
   auto range = std::equal_range(visited_states.begin(), visited_states.end(),
     new_state.get(), simgrid::mc::DerefAndCompareByNbProcessesAndUsedHeap());