X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/122a5a2813fd6d64d4db8ee7f1fdb5a62b7e0d6a..7e625e5e848a284b522d69ec28cb111f1f88515b:/src/instr/instr_platform.cpp diff --git a/src/instr/instr_platform.cpp b/src/instr/instr_platform.cpp index 1519f804a6..f7cbcc9dca 100644 --- a/src/instr/instr_platform.cpp +++ b/src/instr/instr_platform.cpp @@ -531,10 +531,10 @@ void define_callbacks() Container::by_name(c.get_destination()->get_name())->get_state("HOST_STATE")->push_event("start"); } }); - s4u::Comm::on_send_cb([](s4u::Comm const& c) { + s4u::Comm::on_send_cb([](s4u::Comm const&) { Container::by_name(instr_pid(*s4u::Actor::self()))->get_state("ACTOR_STATE")->push_event("send"); }); - s4u::Comm::on_recv_cb([](s4u::Comm const& c) { + s4u::Comm::on_recv_cb([](s4u::Comm const&) { Container::by_name(instr_pid(*s4u::Actor::self()))->get_state("ACTOR_STATE")->push_event("receive"); }); s4u::Actor::on_host_change_cb(on_actor_host_change);