Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
add File::open and File::close in FileSystem plugin
[simgrid.git] / include / simgrid / jedule / jedule_platform.hpp
index a63279e16cea9c4265edf9e3f212955d4125a639..945f56127ff3e75941b055c20bf44c203e32fb72 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2010-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2010-2021. The SimGrid Team. All rights reserved.          */
 
 /* This program is free software; you can redistribute it and/or modify it
  * under the terms of the license (GNU LGPL) which comes with this package. */
@@ -35,7 +35,7 @@ public:
   unsigned int get_id_by_name(const char* name) const { return name2id.at(name); }
 
   void add_child(Container* child);
-  void add_resources(std::vector<sg_host_t> hosts);
+  void add_resources(const std::vector<sg_host_t>& hosts);
   void create_hierarchy(const_sg_netzone_t from_as);
   std::vector<int> get_hierarchy();
   std::string get_hierarchy_as_string();