Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use :: to call get_clock() which is a static member of s4u::Engine.
[simgrid.git] / examples / cpp / replay-io / s4u-replay-io.cpp
index 52f18b8..66ebcff 100644 (file)
@@ -123,7 +123,7 @@ int main(int argc, char* argv[])
 
   simgrid::xbt::action_fs = nullptr;
 
-  XBT_INFO("Simulation time %g", e.get_clock());
+  XBT_INFO("Simulation time %g", simgrid::s4u::Engine::get_clock());
 
   return 0;
 }