X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/a79a8e1cab86ccc687cfbc97b01b735acb996f16..c1b3e440de2150420b08c0bc55a125a0c9eb86bc:/src/kernel/routing/EmptyZone.cpp diff --git a/src/kernel/routing/EmptyZone.cpp b/src/kernel/routing/EmptyZone.cpp index 66729e69a6..bd04471a71 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-2019. 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 { -EmptyZone::EmptyZone(NetZone* father, const char* name) : NetZoneImpl(father, name) +EmptyZone::EmptyZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel) + : NetZoneImpl(father, std::move(name), netmodel) { } EmptyZone::~EmptyZone() = default; -void EmptyZone::getLocalRoute(NetCard* /*src*/, NetCard* /*dst*/, sg_platf_route_cbarg_t /*res*/, double* /*lat*/) -{ -} - -void EmptyZone::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"); }