X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/9f575d0fbfaeb2a0f046f2c67e63cb20b02625d0..2fa31273f15799271677dad1a964997bc5a057f9:/src/kernel/routing/DijkstraZone_test.cpp diff --git a/src/kernel/routing/DijkstraZone_test.cpp b/src/kernel/routing/DijkstraZone_test.cpp index e941407585..6fbbd30f5a 100644 --- a/src/kernel/routing/DijkstraZone_test.cpp +++ b/src/kernel/routing/DijkstraZone_test.cpp @@ -31,6 +31,6 @@ TEST_CASE("kernel::routing::DijkstraZone: mix new routes and hosts", "") std::string cpu_name = "CPU" + std::to_string(i); const simgrid::s4u::Host* cpu = zone->create_host(cpu_name, 1e9)->seal(); REQUIRE_NOTHROW(zone->add_route(cpu->get_netpoint(), nic->get_netpoint(), nullptr, nullptr, - std::vector{link}, true)); + {simgrid::s4u::LinkInRoute(link)}, true)); } }