From: Arnaud Giersch Date: Thu, 18 Feb 2021 20:50:12 +0000 (+0100) Subject: Const, as usual ;) X-Git-Tag: v3.27~341 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/56d27132a417a9010f64f36dd551d6c7628d839c Const, as usual ;) --- diff --git a/teshsuite/models/ptask_L07/ptask_L07.cpp b/teshsuite/models/ptask_L07/ptask_L07.cpp index e60e3adbe0..0783ad549d 100644 --- a/teshsuite/models/ptask_L07/ptask_L07.cpp +++ b/teshsuite/models/ptask_L07/ptask_L07.cpp @@ -14,7 +14,7 @@ namespace sg4 = simgrid::s4u; /* We need a separate actor so that it can sleep after each test */ static void main_dispatcher() { - sg4::Engine* e = sg4::Engine::get_instance(); + const sg4::Engine* e = sg4::Engine::get_instance(); double start_time; double end_time; std::vector hosts = e->get_all_hosts();