X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/8a0edc1a3b6e911b8e6b8db2cb2c94b751fae29a..83d62d72a9468f9f8e97b677dd40d5a2bd60ba86:/src/msg/msg_legacy.cpp diff --git a/src/msg/msg_legacy.cpp b/src/msg/msg_legacy.cpp index fd4562c206..9cedca552d 100644 --- a/src/msg/msg_legacy.cpp +++ b/src/msg/msg_legacy.cpp @@ -130,7 +130,7 @@ msg_error_t MSG_process_sleep(double duration) try { sg_actor_sleep_for(duration); return MSG_OK; - } catch (simgrid::HostFailureException& e) { + } catch (const simgrid::HostFailureException&) { return MSG_HOST_FAILURE; } }