Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add python bindings for plugin host load
[simgrid.git] / examples / cpp / exec-ptask-multicore-latency / s4u-exec-ptask-multicore-latency.cpp
index 42797f1591257bcce10c3b52cffd7c741b7184e5..08b01f3144fef086e12ccb7d709652a3cb3fc2f9 100644 (file)
@@ -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();
+  auto* e = sg4::Engine::get_instance();
   std::vector<double> comp(2, 1e9);
   std::vector<double> comm(4, 0.0);
   // Different hosts.