X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/08a29a4221dc5cec95b766cd9b25c95dcc361df9..dc9b8feaddd53842f6204f4f24409b2382393fa9:/include/simgrid/kernel/routing/RoutedZone.hpp diff --git a/include/simgrid/kernel/routing/RoutedZone.hpp b/include/simgrid/kernel/routing/RoutedZone.hpp index 57a3fc5541..2ecdbfc6cd 100644 --- a/include/simgrid/kernel/routing/RoutedZone.hpp +++ b/include/simgrid/kernel/routing/RoutedZone.hpp @@ -50,7 +50,7 @@ namespace routing { class XBT_PRIVATE RoutedZone : public NetZoneImpl { public: - explicit RoutedZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel); + explicit RoutedZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel); void get_graph(xbt_graph_t graph, std::map* nodes, std::map* edges) override;