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] Constify pointer and reference parameters in src/s4u/.
[simgrid.git]
/
src
/
s4u
/
s4u_Semaphore.cpp
diff --git
a/src/s4u/s4u_Semaphore.cpp
b/src/s4u/s4u_Semaphore.cpp
index
debf3ec
..
9e14147
100644
(file)
--- a/
src/s4u/s4u_Semaphore.cpp
+++ b/
src/s4u/s4u_Semaphore.cpp
@@
-104,7
+104,7
@@
int sg_sem_get_capacity(sg_sem_t sem)
return sem->get_capacity();
}
-void sg_sem_destroy(sg_sem_t sem)
+void sg_sem_destroy(
const_
sg_sem_t sem)
{
delete sem;
}