Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Better explanations for the parameters of the decay model
[simgrid.git] / src / plugins / link_energy.cpp
index e75c128cb2aef6bc0454b4f35d4d8a4061ddec51..4f076c06875a6ddb1af5ecb16c5fdb5f69518b04 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()) {