X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/fc8be6494932e66a359ae5d47103a566cc8234f4..f3b7e5f4b4d7c87ee3e8827313ec966ea8fc8387:/include/simgrid/kernel/routing/FullZone.hpp diff --git a/include/simgrid/kernel/routing/FullZone.hpp b/include/simgrid/kernel/routing/FullZone.hpp index 7a9e84df46..16631b4a3e 100644 --- a/include/simgrid/kernel/routing/FullZone.hpp +++ b/include/simgrid/kernel/routing/FullZone.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2018. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2020. 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. */ @@ -20,10 +20,12 @@ namespace routing { */ class XBT_PRIVATE FullZone : public RoutedZone { public: - explicit FullZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel); - void seal() override; + explicit FullZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel); + FullZone(const FullZone&) = delete; + FullZone& operator=(const FullZone) = delete; ~FullZone() override; + void seal() override; void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override; void add_route(NetPoint* src, NetPoint* dst, NetPoint* gw_src, NetPoint* gw_dst, std::vector& link_list, bool symmetrical) override;