X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/23a00833ef66ff4383394e3cac558a5232d4bd62..a36a036c5edf09e563f1fe7b1df4aa791e3ea47e:/src/surf/surf_routing_generic.cpp diff --git a/src/surf/surf_routing_generic.cpp b/src/surf/surf_routing_generic.cpp index 1dc0d18201..a95b47ecb5 100644 --- a/src/surf/surf_routing_generic.cpp +++ b/src/surf/surf_routing_generic.cpp @@ -156,11 +156,6 @@ xbt_edge_t new_xbt_graph_edge(xbt_graph_t graph, xbt_node_t s, xbt_node_t d, namespace simgrid { namespace surf { -xbt_dynar_t AsGeneric::getOneLinkRoutes() { // FIXME: kill that stub - xbt_die("\"generic_get_onelink_routes\" not implemented yet"); - return NULL; -} - void AsGeneric::getGraph(xbt_graph_t graph, xbt_dict_t nodes, xbt_dict_t edges) { int src, dst; @@ -342,7 +337,7 @@ sg_platf_route_cbarg_t AsGeneric::getBypassRoute(NetCard *src, sg_platf_route_cbarg_t new_e_route = NULL; if (e_route_bypass) { - Link* link; + Link* link; unsigned int cpt = 0; new_e_route = xbt_new0(s_sg_platf_route_cbarg_t, 1); new_e_route->gw_src = e_route_bypass->gw_src; @@ -449,7 +444,7 @@ As *AsGeneric::autonomousSystemExist(char *element) As *AsGeneric::processingUnitsExist(char *element) { - As *element_as = sg_host_by_name(element)->p_netcard ->getRcComponent(); + As *element_as = sg_host_by_name(element)->pimpl_netcard ->getRcComponent(); if (element_as == this) return element_as; return asExist(element_as);