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 / plugins / link_energy.cpp
index e75c128..4f076c0 100644 (file)
@@ -148,8 +148,7 @@ double LinkEnergy::get_consumed_energy()
 using simgrid::plugin::LinkEnergy;
 
 /* **************************** events  callback *************************** */
-static void on_communicate(const simgrid::kernel::resource::NetworkAction& action, const simgrid::s4u::Host*,
-                           const simgrid::s4u::Host*)
+static void on_communicate(const simgrid::kernel::resource::NetworkAction& action)
 {
   XBT_DEBUG("onCommunicate is called");
   for (simgrid::kernel::resource::LinkImpl* link : action.get_links()) {