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.
*/
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;