X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/e95d2dda61913a92ff3a9d1b7c368ba6e1443b30..cdf6a962eb4e88efbed3df9c41343adabcf09e6c:/include/simgrid/kernel/routing/EmptyZone.hpp diff --git a/include/simgrid/kernel/routing/EmptyZone.hpp b/include/simgrid/kernel/routing/EmptyZone.hpp index 8f13116462..63a62fff31 100644 --- a/include/simgrid/kernel/routing/EmptyZone.hpp +++ b/include/simgrid/kernel/routing/EmptyZone.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2016. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-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. */ @@ -6,7 +6,7 @@ #ifndef SURF_ROUTING_NONE_HPP_ #define SURF_ROUTING_NONE_HPP_ -#include "simgrid/kernel/routing/NetZoneImpl.hpp" +#include namespace simgrid { namespace kernel { @@ -21,16 +21,16 @@ namespace routing { class XBT_PRIVATE EmptyZone : public NetZoneImpl { public: - explicit EmptyZone(NetZone* father, std::string name); + explicit EmptyZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel); ~EmptyZone() override; - void getLocalRoute(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override + void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override { /* There can't be route in an Empty zone */ } - void getGraph(xbt_graph_t graph, std::map* /*nodes*/, - std::map* /*edges*/) override; + void get_graph(xbt_graph_t graph, std::map* /*nodes*/, + std::map* /*edges*/) override; }; } // namespace routing } // namespace kernel