X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/16bbb8a8212497d9c44c81333ed2c0e689e0c5af..3671bfe99e3f5f4dc48d8229eb57f965a1cf6913:/src/surf/surf_routing_floyd.cpp diff --git a/src/surf/surf_routing_floyd.cpp b/src/surf/surf_routing_floyd.cpp index 7f2c653bb8..ffe8e5a623 100644 --- a/src/surf/surf_routing_floyd.cpp +++ b/src/surf/surf_routing_floyd.cpp @@ -19,11 +19,6 @@ AS_t model_floyd_create(void) return new simgrid::surf::AsFloyd(); } -void model_floyd_end(AS_t current_routing) -{ - static_cast(current_routing)->end(); -} - namespace simgrid { namespace surf { @@ -42,7 +37,7 @@ AsFloyd::~AsFloyd(){ /* Delete link_table */ for (i = 0; i < table_size; i++) for (j = 0; j < table_size; j++) { - generic_free_route(TO_FLOYD_LINK(i, j)); + routing_route_free(TO_FLOYD_LINK(i, j)); } xbt_free(p_linkTable); /* Delete bypass dict */ @@ -269,7 +264,7 @@ void AsFloyd::parseRoute(sg_platf_route_cbarg_t route) xbt_dynar_free(&route->link_list); } -void AsFloyd::end(){ +void AsFloyd::Seal(){ unsigned int i, j, a, b, c; /* set the size of table routing */