A
lgorithmique
N
umérique
D
istribuée
Public GIT Repository
projects
/
simgrid.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Convert enum smpi_process_state to enum class.
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_info.cpp
diff --git
a/src/smpi/mpi/smpi_info.cpp
b/src/smpi/mpi/smpi_info.cpp
index
3698e30
..
9ac105a
100644
(file)
--- a/
src/smpi/mpi/smpi_info.cpp
+++ b/
src/smpi/mpi/smpi_info.cpp
@@
-1,4
+1,4
@@
-/* Copyright (c) 2007-201
7
. The SimGrid Team.
+/* Copyright (c) 2007-201
8
. The SimGrid Team.
* All rights reserved. */
/* This program is free software; you can redistribute it and/or modify it
* 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;
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;
if (num == n) {
strncpy(key, elm.first.c_str(), elm.first.length() + 1);
return MPI_SUCCESS;