X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a28f8d4f0a7734d65dafa41486ca0ab78038a975..fbc5196e44c92ef4ccda2fb737423e373c03d6f9:/src/surf/surf_routing_dijkstra.cpp diff --git a/src/surf/surf_routing_dijkstra.cpp b/src/surf/surf_routing_dijkstra.cpp index 36e615d229..12f3eeaa27 100644 --- a/src/surf/surf_routing_dijkstra.cpp +++ b/src/surf/surf_routing_dijkstra.cpp @@ -349,14 +349,14 @@ AsDijkstra::AsDijkstra(const char*name, bool cached) routeCache_ = xbt_dict_new_homogeneous(&route_cache_elem_free); } -void AsDijkstra::parseRoute(sg_platf_route_cbarg_t route) +void AsDijkstra::addRoute(sg_platf_route_cbarg_t route) { const char *srcName = route->src; const char *dstName = route->dst; NetCard *src = sg_netcard_by_name_or_null(srcName); NetCard *dst = sg_netcard_by_name_or_null(dstName); - parseRouteCheckParams(route); + addRouteCheckParams(route); /* Create the topology graph */ if(!routeGraph_)