Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
typo
[simgrid.git] / examples / cpp / io-disk-raw / s4u-io-disk-raw.cpp
index 59a69e2d0cecf7ccda978b90a99a5d475a7b2dd6..92958f884b2e09c7c21f976a8b8b5ed2b32c8af2 100644 (file)
@@ -59,7 +59,7 @@ int main(int argc, char** argv)
   e.load_platform(argv[1]);
 
   /* - Display Host properties */
-  for (auto h : e.get_all_hosts()) {
+  for (auto const* h : e.get_all_hosts()) {
     XBT_INFO("*** %s properties ****", h->get_cname());
     for (auto const& [key, value] : *h->get_properties())
       XBT_INFO("  %s -> %s", key.c_str(), value.c_str());