Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Update copyright lines.
[simgrid.git] / include / simgrid / s4u / Host.hpp
index 1e7bd8a..c6691d7 100644 (file)
@@ -1,4 +1,4 @@
-/* Copyright (c) 2006-2020. The SimGrid Team. All rights reserved.          */
+/* Copyright (c) 2006-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. */
@@ -105,7 +105,7 @@ public:
   const char* get_property(const std::string& key) const;
   void set_property(const std::string& key, const std::string& value);
   const std::unordered_map<std::string, std::string>* get_properties() const;
-  void set_properties(const std::map<std::string, std::string>& properties);
+  void set_properties(const std::unordered_map<std::string, std::string>& properties);
 
   void set_state_profile(kernel::profile::Profile* p);
   void set_speed_profile(kernel::profile::Profile* p);
@@ -146,7 +146,7 @@ public:
   int get_pstate() const;
 
   std::vector<Disk*> get_disks() const;
-  void add_disk(Disk* disk);
+  void add_disk(const Disk* disk);
   void remove_disk(const std::string& disk_name);
 
   std::vector<const char*> get_attached_storages() const;