-/* Copyright (c) 2010-2021. The SimGrid Team.
+/* Copyright (c) 2010-2022. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
->seal();
zone->seal();
- sg4::Actor::create("carol", simgrid::s4u::Host::by_name("carol"), worker);
- sg4::Actor::create("erin", simgrid::s4u::Host::by_name("erin"), failed_worker)->set_auto_restart(true);
+ sg4::Actor::create("carol", e.host_by_name("carol"), worker);
+ sg4::Actor::create("erin", e.host_by_name("erin"), failed_worker)->set_auto_restart(true);
e.run();
- XBT_INFO("Simulation time %g", simgrid::s4u::Engine::get_clock());
+ XBT_INFO("Simulation time %g", sg4::Engine::get_clock());
return 0;
}