X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a18117755285a374ec3d5830309c924f2830e3ba..fc8be6494932e66a359ae5d47103a566cc8234f4:/src/kernel/routing/EmptyZone.cpp diff --git a/src/kernel/routing/EmptyZone.cpp b/src/kernel/routing/EmptyZone.cpp index 95d7b19951..6405f27df7 100644 --- a/src/kernel/routing/EmptyZone.cpp +++ b/src/kernel/routing/EmptyZone.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2009-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2009-2018. The SimGrid Team. All rights reserved. */ /* 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. */ @@ -7,7 +7,7 @@ #include #include -#include "src/kernel/routing/EmptyZone.hpp" +#include "simgrid/kernel/routing/EmptyZone.hpp" XBT_LOG_NEW_DEFAULT_SUBCATEGORY(surf_route_none, surf, "Routing part of surf"); @@ -15,17 +15,15 @@ namespace simgrid { namespace kernel { namespace routing { -AsNone::AsNone(As* father, const char* name) : AsImpl(father, name) +EmptyZone::EmptyZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel) + : NetZoneImpl(father, name, netmodel) { } -AsNone::~AsNone() = default; +EmptyZone::~EmptyZone() = default; -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*/) +void EmptyZone::get_graph(xbt_graph_t /*graph*/, std::map* /*nodes*/, + std::map* /*edges*/) { XBT_ERROR("No routing no graph"); }