]> AND Public Git Repository - simgrid.git/blobdiff - src/kernel/routing/StarZone_test.cpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Fix some more doc errors. There is so many of them :(
[simgrid.git] / src / kernel / routing / StarZone_test.cpp
index 66dac2906ed4f1e8c22f2f58f196663c11b86a7a..4c7ff4d9925763c76f49532525e3612fa231cbe2 100644 (file)
@@ -287,7 +287,6 @@ TEST_CASE("kernel::routing::StarZone: mix new routes and hosts", "")
   for (int i = 0; i < 10; i++) {
     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(), nullptr, nullptr, nullptr, {simgrid::s4u::LinkInRoute(link)}, true));
+    REQUIRE_NOTHROW(zone->add_route(cpu, nullptr, {link}));
   }
 }