X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/77acc38a35db79181c828c39e056c890462ab70b..45c140b2f84b663b089a89fc47308e13d5f5ff3e:/src/plugins/host_dvfs.cpp diff --git a/src/plugins/host_dvfs.cpp b/src/plugins/host_dvfs.cpp index 0a66de1a05..c51a26d080 100644 --- a/src/plugins/host_dvfs.cpp +++ b/src/plugins/host_dvfs.cpp @@ -309,7 +309,7 @@ public: // FIXME I think that this fires at the same time for all hosts, so when the src sends something, // the dst will be notified even though it didn't even arrive at the recv yet kernel::activity::CommImpl::on_start.connect([this](const kernel::activity::CommImpl& comm) { - auto* act = static_cast(comm.surf_action_); + const auto* act = static_cast(comm.surf_action_); if ((get_host() == &act->get_src() || get_host() == &act->get_dst()) && iteration_running) { post_task(); }