X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/cc4eceb15c80a597e44222b8c0ff60caf85db959..84402e8e2ee2a2d0bef25fdceb0a263ed8b471f6:/include/simgrid/kernel/routing/DijkstraZone.hpp diff --git a/include/simgrid/kernel/routing/DijkstraZone.hpp b/include/simgrid/kernel/routing/DijkstraZone.hpp index 3ae74ff881..e313856103 100644 --- a/include/simgrid/kernel/routing/DijkstraZone.hpp +++ b/include/simgrid/kernel/routing/DijkstraZone.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2019. 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. */ @@ -14,7 +14,7 @@ namespace kernel { namespace routing { /** @ingroup ROUTING_API - * @brief NetZone with an explicit routing computed on need with Dijsktra + * @brief NetZone with an explicit routing computed on need with Dijkstra * * The path between components is computed each time you request it, * using the Dijkstra algorithm. A cache can be used to reduce the computation. @@ -24,7 +24,7 @@ namespace routing { */ class XBT_PRIVATE DijkstraZone : public RoutedZone { public: - DijkstraZone(NetZoneImpl* father, std::string name, resource::NetworkModel* netmodel, bool cached); + DijkstraZone(NetZoneImpl* father, const std::string& name, resource::NetworkModel* netmodel, bool cached); DijkstraZone(const DijkstraZone&) = delete; DijkstraZone& operator=(const DijkstraZone&) = delete;