Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
remove the src and dst from the Link::on_communicate callback since it's now in the...
[simgrid.git] / src / surf / network_constant.cpp
index 939ca95..0b7e322 100644 (file)
@@ -73,7 +73,7 @@ Action* NetworkConstantModel::communicate(s4u::Host* src, s4u::Host* dst, double
 {
   auto* action = new NetworkConstantAction(this, *src, *dst, size, sg_latency_factor);
 
-  s4u::Link::on_communicate(*action, src, dst);
+  s4u::Link::on_communicate(*action);
   return action;
 }