]> AND Public Git Repository - simgrid.git/blobdiff - examples/cpp/dht-chord/s4u-dht-chord.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix more sonar things
[simgrid.git] / examples / cpp / dht-chord / s4u-dht-chord.cpp
index 8b4ae5fe48540f9f9fb63a2df825ef0da06c1c1c..6cbea68f6cc2dbdd928efc5f690f440a6e348cdf 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2022. 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. */
@@ -45,6 +45,6 @@ int main(int argc, char* argv[])
 
   e.run();
 
-  XBT_INFO("Simulated time: %g", e.get_clock());
+  XBT_INFO("Simulated time: %g", simgrid::s4u::Engine::get_clock());
   return 0;
 }