Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
fix a bug in an error message
[simgrid.git] / src / s4u / s4u_Host.cpp
index 3dba929a30d991df2c98fb75b758a38825ce72c2..04d1f581ef7aeb97c19fa000d1418cceb94d0a59 100644 (file)
@@ -164,7 +164,7 @@ void Host::route_to(const Host* dest, std::vector<kernel::resource::LinkImpl*>&
     XBT_CDEBUG(surf_route, "Route from '%s' to '%s' (latency: %f):", get_cname(), dest->get_cname(),
                (latency == nullptr ? -1 : *latency));
     for (auto const& link : links)
-      XBT_CDEBUG(surf_route, "Link %s", link->get_cname());
+      XBT_CDEBUG(surf_route, "  Link '%s'", link->get_cname());
   }
 }
 
@@ -204,7 +204,7 @@ void Host::set_property(const std::string& key, const std::string& value)
   kernel::actor::simcall([this, &key, &value] { this->pimpl_->set_property(key, value); });
 }
 
-void Host::set_properties(const std::map<std::string, std::string>& properties)
+void Host::set_properties(const std::unordered_map<std::string, std::string>& properties)
 {
   kernel::actor::simcall([this, &properties] { this->pimpl_->set_properties(properties); });
 }