X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/ec4e2d87d99b8ad76c9096033eb858e9052b09fa..dc04f83284126c46ca9f5fe5489c31fffd3eb89a:/src/surf/surf_routing_none.cpp?ds=sidebyside diff --git a/src/surf/surf_routing_none.cpp b/src/surf/surf_routing_none.cpp index 28c64fb237..989730d783 100644 --- a/src/surf/surf_routing_none.cpp +++ b/src/surf/surf_routing_none.cpp @@ -4,7 +4,8 @@ /* This program is free software; you can redistribute it and/or modify it * under the terms of the license (GNU LGPL) which comes with this package. */ -#include "surf_routing_none.hpp" +#include "src/surf/surf_routing_private.hpp" +#include "src/surf/surf_routing_none.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf"); @@ -62,15 +63,9 @@ void AsNone::parseBypassroute(sg_platf_route_cbarg_t /*e_route*/){ /* Creation routing model functions */ AsNone::AsNone() { - p_routingSons = xbt_dict_new_homogeneous(NULL); - p_indexNetworkElm = xbt_dynar_new(sizeof(char*),NULL); - p_linkUpDownList = NULL; } AsNone::~AsNone() { - xbt_dict_free(&p_routingSons); - xbt_dynar_free(&p_indexNetworkElm); - xbt_dynar_free(&p_linkUpDownList); } }