Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
simplify writing in model setup + may fix issue with unit-tests
[simgrid.git] / src / surf / network_wifi.hpp
index 6f5ad3596fca5fbc0f3c68b0fe00e8339efb4b7b..71850b588e6a011fea0686f5186841650ce50827 100644 (file)
@@ -42,7 +42,7 @@ class NetworkWifiLink : public LinkImpl {
   std::vector<Metric> decay_bandwidths_;
 
 public:
-  NetworkWifiLink(const std::string& name, std::vector<double> bandwidths, lmm::System* system);
+  NetworkWifiLink(const std::string& name, const std::vector<double>& bandwidths, lmm::System* system);
 
   void set_host_rate(const s4u::Host* host, int rate_level);
   /** @brief Get the AP rate associated to the host (or -1 if not associated to the AP) */