X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/92ce16e6a3f85ac5c7efdbed957a8a9a79590eac..de054f9c7a56304ef1227a0664eba51161e9a8a4:/examples/cpp/actor-stacksize/s4u-actor-stacksize.cpp diff --git a/examples/cpp/actor-stacksize/s4u-actor-stacksize.cpp b/examples/cpp/actor-stacksize/s4u-actor-stacksize.cpp index e530466da6..9876ad6f89 100644 --- a/examples/cpp/actor-stacksize/s4u-actor-stacksize.cpp +++ b/examples/cpp/actor-stacksize/s4u-actor-stacksize.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2010-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. */ @@ -39,7 +39,7 @@ int main(int argc, char* argv[]) sg4::Actor::create("actor", e.host_by_name("Tremblay"), actor); e.run(); - XBT_INFO("Simulation time %g", e.get_clock()); + XBT_INFO("Simulation time %g", sg4::Engine::get_clock()); return 0; }