X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/b87fc0829538ec066fd077e6c30ee6270b8abd78..ab4d43a39df33bb5f24c3b2cc6d576130b16a649:/src/smpi/mpi/smpi_info.cpp diff --git a/src/smpi/mpi/smpi_info.cpp b/src/smpi/mpi/smpi_info.cpp index 3698e30d40..9ac105a59f 100644 --- a/src/smpi/mpi/smpi_info.cpp +++ b/src/smpi/mpi/smpi_info.cpp @@ -1,4 +1,4 @@ -/* Copyright (c) 2007-2017. The SimGrid Team. +/* Copyright (c) 2007-2018. The SimGrid Team. * All rights reserved. */ /* This program is free software; you can redistribute it and/or modify it @@ -60,7 +60,7 @@ int Info::get_nkeys(int *nkeys){ int Info::get_nthkey(int n, char *key){ int num=0; - for (auto elm : map_) { + for (auto const& elm : map_) { if (num == n) { strncpy(key, elm.first.c_str(), elm.first.length() + 1); return MPI_SUCCESS;