Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
kill useless code now that As::Seal() exists
[simgrid.git] / src / surf / surf_routing_floyd.cpp
index 934273b..ffe8e5a 100644 (file)
@@ -19,11 +19,6 @@ AS_t model_floyd_create(void)
   return new simgrid::surf::AsFloyd();
 }
 
-void model_floyd_end(AS_t current_routing)
-{
-  current_routing->Seal();
-}
-
 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 */