X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/c4ffa9d533441c926ec687986415b635629d496a..9464eee80e78ebd7783dfa03dcf777a173a14025:/src/surf/surf_routing_none.cpp diff --git a/src/surf/surf_routing_none.cpp b/src/surf/surf_routing_none.cpp index 88207226db..1e9014f7ed 100644 --- a/src/surf/surf_routing_none.cpp +++ b/src/surf/surf_routing_none.cpp @@ -4,7 +4,6 @@ /* 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 "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"); @@ -17,23 +16,13 @@ AsNone::AsNone(const char*name) AsNone::~AsNone() {} -xbt_dynar_t AsNone::getOneLinkRoutes() { - return NULL; -} - void AsNone::getRouteAndLatency(NetCard * /*src*/, NetCard * /*dst*/, - sg_platf_route_cbarg_t /*res*/, double *lat) -{ - *lat = 0.0; -} + sg_platf_route_cbarg_t /*res*/, double */*lat*/) +{} void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/) { XBT_INFO("No routing no graph"); } - -sg_platf_route_cbarg_t AsNone::getBypassRoute(NetCard * /*src*/, NetCard * /*dst*/, double * /*lat*/) { - return NULL; -} } }