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
[sonar] Const for pointer and reference parameters (slight return).
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_request.cpp
diff --git
a/src/smpi/mpi/smpi_request.cpp
b/src/smpi/mpi/smpi_request.cpp
index
f1060f1
..
2bc696f
100644
(file)
--- a/
src/smpi/mpi/smpi_request.cpp
+++ b/
src/smpi/mpi/smpi_request.cpp
@@
-1026,7
+1026,7
@@
int Request::waitany(int count, MPI_Request requests[], MPI_Status * status)
return index;
}
-static int sort_accumulates(
MPI_Request a, MPI_Request
b)
+static int sort_accumulates(
const Request* a, const Request*
b)
{
return (a->tag() > b->tag());
}