X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/70833ee10a946ee18d9fab348392653b15fdc924..fc8be6494932e66a359ae5d47103a566cc8234f4:/src/kernel/routing/EmptyZone.cpp diff --git a/src/kernel/routing/EmptyZone.cpp b/src/kernel/routing/EmptyZone.cpp index 732cab82c1..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,13 +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, name, netmodel) { } EmptyZone::~EmptyZone() = default; -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"); }