X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08ddd90ede6ae87880ab6aefe213001b224de841..b8df87e176f27b25534f27d7e240defa32ca35bc:/include/simgrid/kernel/routing/EmptyZone.hpp diff --git a/include/simgrid/kernel/routing/EmptyZone.hpp b/include/simgrid/kernel/routing/EmptyZone.hpp index cb64ff5ed5..0a8641d54f 100644 --- a/include/simgrid/kernel/routing/EmptyZone.hpp +++ b/include/simgrid/kernel/routing/EmptyZone.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2018. 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. */ @@ -21,16 +21,16 @@ namespace routing { class XBT_PRIVATE EmptyZone : public NetZoneImpl { public: - explicit EmptyZone(NetZone* father, std::string name); + explicit EmptyZone(NetZoneImpl* father, 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