X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/708022beac42d3fe3fc04330be0a543831d6f319..874aec87c7ce1894a9f017d2adf07ce7b8abe71d:/examples/cpp/exec-ptask-multicore-latency/s4u-exec-ptask-multicore-latency.cpp diff --git a/examples/cpp/exec-ptask-multicore-latency/s4u-exec-ptask-multicore-latency.cpp b/examples/cpp/exec-ptask-multicore-latency/s4u-exec-ptask-multicore-latency.cpp index 42797f1591..e4ec699997 100644 --- a/examples/cpp/exec-ptask-multicore-latency/s4u-exec-ptask-multicore-latency.cpp +++ b/examples/cpp/exec-ptask-multicore-latency/s4u-exec-ptask-multicore-latency.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2017-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2017-2023. The SimGrid Team. All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ @@ -11,7 +11,7 @@ namespace sg4 = simgrid::s4u; static void runner() { - auto e = sg4::Engine::get_instance(); + const auto* e = sg4::Engine::get_instance(); std::vector comp(2, 1e9); std::vector comm(4, 0.0); // Different hosts.