]> AND Public Git Repository - simgrid.git/blobdiff - include/simgrid/s4u/Host.hpp
Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Don't pretend we can move a parallel exec
[simgrid.git] / include / simgrid / s4u / Host.hpp
index ea0afe065579e8105cb64a051147bbecac9cdea9..48870a8fce9608e5a4fd4d60f3d3f32c5f7ea573 100644 (file)
@@ -99,7 +99,8 @@ public:
 
   const char* get_property(const std::string& key) const;
   void set_property(const std::string& key, const std::string& value);
-  std::unordered_map<std::string, std::string>* get_properties();
+  const std::unordered_map<std::string, std::string>* get_properties() const;
+  void set_properties(const std::map<std::string, std::string>& properties);
 
   void set_state_profile(kernel::profile::Profile* p);
   void set_speed_profile(kernel::profile::Profile* p);