Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://framagit.org/simgrid/simgrid
[simgrid.git] / teshsuite / s4u / issue71 / issue71.cpp
index 6333844..7b5ed74 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();
+  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");