Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
nope sonar, that's not commented code
[simgrid.git] / src / surf / network_interface.cpp
index b430e8f4475f9a8627eb203b995725b514714b9e..530b483ad7e52f1705afaeec24a43c2adb0abb3a 100644 (file)
@@ -166,7 +166,7 @@ void NetworkAction::set_state(Action::State state)
   Action::State previous = get_state();
   Action::set_state(state);
   if (previous != state) // Trigger only if the state changed
-    s4u::Link::on_communication_state_change(this, previous);
+    s4u::Link::on_communication_state_change(*this, previous);
 }
 
 /** @brief returns a list of all Links that this action is using */