X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ac9f2313b09e3e4c035607f3e4b116a3ea349291..5ff67b17195840c076b8b2ee0f79f2b6fadda362:/src/kernel/resource/WifiLinkImpl.cpp diff --git a/src/kernel/resource/WifiLinkImpl.cpp b/src/kernel/resource/WifiLinkImpl.cpp index b0abe21ab5..a40a12a6e6 100644 --- a/src/kernel/resource/WifiLinkImpl.cpp +++ b/src/kernel/resource/WifiLinkImpl.cpp @@ -18,7 +18,7 @@ namespace simgrid::kernel::resource { ************/ static void update_bw_comm_start(const s4u::Comm& comm) { - auto* pimpl = static_cast(comm.get_impl()); + const auto* pimpl = static_cast(comm.get_impl()); auto const* actionWifi = dynamic_cast(pimpl->model_action_); if (actionWifi == nullptr)