X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/6b290f787830132aa439a4b3d6052e5f2f76a040..e53e94eb6cb9f8edda78234ec8a0ba7880431d2a:/include/simgrid/kernel/routing/EmptyZone.hpp diff --git a/include/simgrid/kernel/routing/EmptyZone.hpp b/include/simgrid/kernel/routing/EmptyZone.hpp index 4b9114c3f9..c1eb7f7de3 100644 --- a/include/simgrid/kernel/routing/EmptyZone.hpp +++ b/include/simgrid/kernel/routing/EmptyZone.hpp @@ -23,7 +23,7 @@ class XBT_PRIVATE EmptyZone : public NetZoneImpl { public: explicit EmptyZone(const std::string& name) : NetZoneImpl(name) {} - 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 { /* There can't be route in an Empty zone */ }