X-Git-Url: http://bilbo.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/aa5349f5cacefafa8fb42f88fd7d3e77928b19f3..3fafdab4bb94b48cb16c80690408a18f472e202b:/include/simgrid/kernel/routing/FloydZone.hpp diff --git a/include/simgrid/kernel/routing/FloydZone.hpp b/include/simgrid/kernel/routing/FloydZone.hpp index 1afe57468e..3cc7963264 100644 --- a/include/simgrid/kernel/routing/FloydZone.hpp +++ b/include/simgrid/kernel/routing/FloydZone.hpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2013-2021. The SimGrid Team. All rights reserved. */ +/* Copyright (c) 2013-2023. 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. */ @@ -23,7 +23,7 @@ namespace routing { */ class XBT_PRIVATE FloydZone : public RoutedZone { /* vars to compute the Floyd algorithm. */ - std::vector> predecessor_table_; + std::vector> predecessor_table_; std::vector> cost_table_; std::vector>> link_table_; @@ -35,9 +35,9 @@ public: FloydZone(const FloydZone&) = delete; FloydZone& operator=(const FloydZone&) = delete; - void get_local_route(NetPoint* src, NetPoint* dst, Route* into, double* latency) override; + void get_local_route(const NetPoint* src, const NetPoint* dst, Route* into, double* latency) override; void add_route(NetPoint* src, NetPoint* dst, NetPoint* gw_src, NetPoint* gw_dst, - const std::vector& link_list, bool symmetrical) override; + const std::vector& link_list, bool symmetrical) override; }; } // namespace routing } // namespace kernel