Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Use references for parameters of type std::vector.
[simgrid.git] / src / surf / HostImpl.hpp
index d7cfc9b..1b480a5 100644 (file)
@@ -29,7 +29,7 @@ class XBT_PRIVATE HostModel : public kernel::resource::Model {
 public:
   HostModel() : Model(Model::UpdateAlgo::FULL) {}
 
-  virtual kernel::resource::Action* execute_parallel(const std::vector<s4u::Host*> host_list,
+  virtual kernel::resource::Action* execute_parallel(const std::vector<s4u::Host*>& host_list,
                                                      const double* flops_amount, const double* bytes_amount,
                                                      double rate);
 };