X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/831de10adaaf8910940aa280e2ac2dd075b5ffe5..b2f3150048cd87c9e16e251fea65c40221fd56ea:/src/kernel/routing/AsNone.cpp diff --git a/src/kernel/routing/AsNone.cpp b/src/kernel/routing/AsNone.cpp index 41c6272bac..5544222b95 100644 --- a/src/kernel/routing/AsNone.cpp +++ b/src/kernel/routing/AsNone.cpp @@ -12,17 +12,15 @@ XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf"); namespace simgrid { +namespace kernel { namespace routing { -AsNone::AsNone(const char*name) - : AsImpl(name) +AsNone::AsNone(As* father, const char* name) : AsImpl(father, name) {} -AsNone::~AsNone() -{} +AsNone::~AsNone() = default; -void AsNone::getRouteAndLatency(NetCard * /*src*/, NetCard * /*dst*/, - sg_platf_route_cbarg_t /*res*/, double */*lat*/) +void AsNone::getLocalRoute(NetCard* /*src*/, NetCard* /*dst*/, sg_platf_route_cbarg_t /*res*/, double* /*lat*/) {} void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /*edges*/) @@ -30,5 +28,4 @@ void AsNone::getGraph(xbt_graph_t /*graph*/, xbt_dict_t /*nodes*/, xbt_dict_t /* XBT_ERROR("No routing no graph"); } -} -} +}}}