From: Arnaud Giersch Date: Thu, 18 Feb 2021 20:53:58 +0000 (+0100) Subject: Use already defined namespace alias 'sg4'. X-Git-Tag: v3.27~339 X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/commitdiff_plain/6d3268c19b418ead957068e44d68782e451c2ee2 Use already defined namespace alias 'sg4'. --- diff --git a/teshsuite/models/ptask_L07/ptask_L07.cpp b/teshsuite/models/ptask_L07/ptask_L07.cpp index 6c39cb7a55..ca7d353ac8 100644 --- a/teshsuite/models/ptask_L07/ptask_L07.cpp +++ b/teshsuite/models/ptask_L07/ptask_L07.cpp @@ -279,9 +279,9 @@ static void main_dispatcher() int main(int argc, char** argv) { - simgrid::s4u::Engine engine(&argc, argv); + sg4::Engine engine(&argc, argv); engine.load_platform(argv[1]); - simgrid::s4u::Actor::create("dispatcher", simgrid::s4u::Host::by_name("cpu0"), main_dispatcher); + sg4::Actor::create("dispatcher", sg4::Host::by_name("cpu0"), main_dispatcher); engine.run(); return 0; diff --git a/teshsuite/s4u/basic-parsing-test/basic-parsing-test.cpp b/teshsuite/s4u/basic-parsing-test/basic-parsing-test.cpp index 24705bb865..e195f7bc7c 100644 --- a/teshsuite/s4u/basic-parsing-test/basic-parsing-test.cpp +++ b/teshsuite/s4u/basic-parsing-test/basic-parsing-test.cpp @@ -59,13 +59,13 @@ static void test_full_link(const std::vector hosts) int main(int argc, char** argv) { - simgrid::s4u::Engine e(&argc, argv); + sg4::Engine e(&argc, argv); /* creation of the environment */ e.load_platform(argv[1]); XBT_INFO("Workstation number: %zu, link number: %zu", e.get_host_count(), e.get_link_count()); - std::vector hosts = e.get_all_hosts(); + std::vector hosts = e.get_all_hosts(); if (argc >= 3) { if (!strcmp(argv[2], "ONE_LINK")) test_one_link(hosts);