Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
properties are now stored in maps and managed by ProperyHolder
[simgrid.git] / src / msg / msg_host.cpp
index 82a9ad7..cea2d8a 100644 (file)
@@ -166,7 +166,7 @@ xbt_dict_t MSG_host_get_properties(msg_host_t host)
 {
   xbt_assert((host != nullptr), "Invalid parameters (host is nullptr)");
   xbt_dict_t as_dict = xbt_dict_new_homogeneous(xbt_free_f);
-  std::unordered_map<std::string, std::string>* props = host->getProperties();
+  std::map<std::string, std::string>* props = host->getProperties();
   if (props == nullptr)
     return nullptr;
   for (auto elm : *props) {