Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix some tesh after changing dependence relation about Semaphore
[simgrid.git] / teshsuite / s4u / issue71 / issue71.cpp
index 6333844281ff79e338c16129f28e0e1717e11e62..7983e49f66d7b41039ac0dfa09c95dbd36749f3a 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2021-2022. The SimGrid Team. All rights reserved.               */
+/* Copyright (c) 2021-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. */
@@ -9,7 +9,7 @@
 
 static void runner()
 {
-  auto e                    = simgrid::s4u::Engine::get_instance();
+  const auto* e             = simgrid::s4u::Engine::get_instance();
   simgrid::s4u::Host* host0 = e->host_by_name("c1_0");
   simgrid::s4u::Host* host1 = e->host_by_name("c2_0");