X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/d735a547f3200668329feb310844a6839ea21ac3..12ff962f066e304dbaa22cafcd6d5c7adb67c33c:/include/simgrid/kernel/routing/FullZone.hpp diff --git a/include/simgrid/kernel/routing/FullZone.hpp b/include/simgrid/kernel/routing/FullZone.hpp index 4551451f67..f602e8193d 100644 --- a/include/simgrid/kernel/routing/FullZone.hpp +++ b/include/simgrid/kernel/routing/FullZone.hpp @@ -19,14 +19,15 @@ namespace routing { * computational requirements, but also the highest memory requirements (both in platform file and in memory). */ class XBT_PRIVATE FullZone : public RoutedZone { - std::vector routing_table_; + std::vector>> routing_table_; void do_seal() override; + /** @brief Check and resize (if necessary) the routing table */ + void check_routing_table(); public: using RoutedZone::RoutedZone; FullZone(const FullZone&) = delete; FullZone& operator=(const FullZone) = delete; - ~FullZone() override; void get_local_route(NetPoint* src, NetPoint* dst, Route* into, double* latency) override; void add_route(NetPoint* src, NetPoint* dst, NetPoint* gw_src, NetPoint* gw_dst,