X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6b290f787830132aa439a4b3d6052e5f2f76a040..e53e94eb6cb9f8edda78234ec8a0ba7880431d2a:/include/simgrid/kernel/routing/StarZone.hpp diff --git a/include/simgrid/kernel/routing/StarZone.hpp b/include/simgrid/kernel/routing/StarZone.hpp index c8ad0be35f..575b60ff45 100644 --- a/include/simgrid/kernel/routing/StarZone.hpp +++ b/include/simgrid/kernel/routing/StarZone.hpp @@ -64,7 +64,7 @@ class StarZone : public ClusterZone { // implements the old ClusterZone public: explicit StarZone(const std::string& name); - void get_local_route(NetPoint* src, NetPoint* dst, Route* route, double* latency) override; + void get_local_route(const NetPoint* src, const NetPoint* dst, Route* route, double* latency) override; void get_graph(const s_xbt_graph_t* graph, std::map>* nodes, std::map>* edges) override;