* even if you add stuff to a closed AS
*
*/
-void routing_AS_end(sg_platf_AS_cbarg_t AS)
+void routing_AS_end(sg_platf_AS_cbarg_t /*AS*/)
{
if (current_routing == NULL) {
return;
xbt_dynar_free(&routing_platf->p_lastRoute);
finalize_rec(routing_platf->p_root);
- xbt_free(routing_platf);
+ delete routing_platf;
}
AS_t surf_AS_get_routing_root() {