X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/1d047f5a110cfd542b0aedeb72f680e03f8709cd..33ab927a5c7716530d8cadec7f1200976713453c:/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp diff --git a/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp b/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp index 54aaf3aea2..1e8e89097d 100644 --- a/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp +++ b/teshsuite/s4u/concurrent_rw/concurrent_rw.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2008-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2008-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. */ @@ -35,7 +35,7 @@ int main(int argc, char** argv) e.load_platform(argv[1]); for (int i = 0; i < 5; i++) - sg4::Actor::create("host", sg4::Host::by_name("bob"), host); + sg4::Actor::create("host", e.host_by_name("bob"), host); e.run(); XBT_INFO("Simulation time %g", sg4::Engine::get_clock());