Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Merge branch 'master' of https://framagit.org/simgrid/simgrid into no_simix_global
[simgrid.git] / include / simgrid / kernel / routing / WifiZone.hpp
index 272f55e..830779a 100644 (file)
@@ -25,13 +25,12 @@ class XBT_PRIVATE WifiZone : public RoutedZone {
   void do_seal() override;
 
 public:
-  explicit WifiZone(const std::string& name) : RoutedZone(name){};
+  using RoutedZone::RoutedZone;
   WifiZone(const WifiZone&) = delete;
   WifiZone& operator=(const WifiZone) = delete;
 
-  void get_local_route(NetPoint* src, NetPoint* dst, RouteCreationArgs* into, double* latency) override;
-  s4u::Link* create_link(const std::string& name, const std::vector<double>& bandwidths,
-                         s4u::Link::SharingPolicy policy) override;
+  void get_local_route(const NetPoint* src, const NetPoint* dst, Route* into, double* latency) override;
+  s4u::Link* create_link(const std::string& name, const std::vector<double>& bandwidths) override;
   NetPoint* get_access_point() const { return access_point_; }
 };
 } // namespace routing