Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Give a way to add binaries to the list that shouldn't be messed with by sthread
[simgrid.git] / examples / cpp / platform-comm-serialize / s4u-platform-comm-serialize.cpp
index 8db9a7fe083cf0d88f21ddf5662054418499302e..1e637ffab27e9ca5f3627fa750b0f4e40b9e6f53 100644 (file)
@@ -109,7 +109,7 @@ int main(int argc, char* argv[])
       zone->create_split_duplex_link("link1", 10e9)->set_latency(10e-6)->set_concurrency_limit(2)->seal();
 
   /* create routes between nodes */
-  zone->add_route(sender, receiver, {{link, sg4::LinkInRoute::Direction::UP}}, true);
+  zone->add_route(sender, receiver, {link});
   zone->seal();
 
   /* create actors Sender/Receiver */