Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
[cppcheck] Pass parameters by const reference.
[simgrid.git] / include / simgrid / s4u / NetZone.hpp
index 21c0606..b4dc45b 100644 (file)
@@ -141,7 +141,7 @@ public:
 
 private:
   /** @brief Auxiliary function to get list of LinkImpl */
-  static std::vector<kernel::resource::LinkImpl*> get_link_list_impl(const std::vector<Link*> link_list);
+  static std::vector<kernel::resource::LinkImpl*> get_link_list_impl(const std::vector<Link*>& link_list);
 };
 
 // External constructors so that the types (and the types of their content) remain hidden