X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/f5792a3bf76ce15a573ae5e9c63097595ae5f2bd..5bc3597e1513c7b94497ae0ea819e5fa2e28058a:/src/surf/network_smpi.cpp diff --git a/src/surf/network_smpi.cpp b/src/surf/network_smpi.cpp index b559d234c1..9c6f3890da 100644 --- a/src/surf/network_smpi.cpp +++ b/src/surf/network_smpi.cpp @@ -58,7 +58,7 @@ double NetworkSmpiModel::bandwidthFactor(double size) smpi_bw_factor = parse_factor(xbt_cfg_get_string("smpi/bw-factor")); double current = 1.0; - for (const auto& fact : smpi_bw_factor) { + for (auto const& fact : smpi_bw_factor) { if (size <= fact.factor) { XBT_DEBUG("%f <= %zu return %f", size, fact.factor, current); return current; @@ -76,7 +76,7 @@ double NetworkSmpiModel::latencyFactor(double size) smpi_lat_factor = parse_factor(xbt_cfg_get_string("smpi/lat-factor")); double current = 1.0; - for (const auto& fact : smpi_lat_factor) { + for (auto const& fact : smpi_lat_factor) { if (size <= fact.factor) { XBT_DEBUG("%f <= %zu return %f", size, fact.factor, current); return current;