X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/42e5769c3d54afe831345b6a746edb8040f60cfc..2db1424c8baae17717bf6d0bef807127f3e274ad:/src/xbt/xbt_parse_units.cpp?ds=inline diff --git a/src/xbt/xbt_parse_units.cpp b/src/xbt/xbt_parse_units.cpp index 7321a37464..7bdcbf97e7 100644 --- a/src/xbt/xbt_parse_units.cpp +++ b/src/xbt/xbt_parse_units.cpp @@ -120,7 +120,7 @@ std::vector xbt_parse_get_bandwidths(const std::string& filename, int li std::vector bandwidths; std::vector tokens; boost::split(tokens, string, boost::is_any_of(";,")); - for (auto token : tokens) { + for (auto const& token : tokens) { bandwidths.push_back(surf_parse_get_value_with_unit( filename, lineno, token.c_str(), units, entity_kind, name, "Append 'Bps' to get bytes per second (or 'bps' for bits but 1Bps = 8bps)", "Bps"));