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] Declare functions "const" in src/smpi/.
[simgrid.git]
/
src
/
smpi
/
mpi
/
smpi_op.cpp
diff --git
a/src/smpi/mpi/smpi_op.cpp
b/src/smpi/mpi/smpi_op.cpp
index 84a3d8299fd5d32505fd679783351d9d1cc4440b..3ae327d4cbcd0555ae80b92ce4865f7bf8c14fca 100644
(file)
--- a/
src/smpi/mpi/smpi_op.cpp
+++ b/
src/smpi/mpi/smpi_op.cpp
@@
-238,7
+238,7
@@
CREATE_MPI_OP(MPI_NO_OP, no_func)
namespace simgrid{
namespace smpi{
namespace simgrid{
namespace smpi{
-void Op::apply(const void* invec, void* inoutvec, const int* len, MPI_Datatype datatype)
+void Op::apply(const void* invec, void* inoutvec, const int* len, MPI_Datatype datatype)
const
{
if (smpi_cfg_privatization() == SmpiPrivStrategies::MMAP) {
// we need to switch as the called function may silently touch global variables
{
if (smpi_cfg_privatization() == SmpiPrivStrategies::MMAP) {
// we need to switch as the called function may silently touch global variables