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 local variables in src/xbt/.
[simgrid.git]
/
src
/
xbt
/
xbt_virtu.cpp
diff --git
a/src/xbt/xbt_virtu.cpp
b/src/xbt/xbt_virtu.cpp
index
557a2d3
..
e58f4fd
100644
(file)
--- a/
src/xbt/xbt_virtu.cpp
+++ b/
src/xbt/xbt_virtu.cpp
@@
-11,7
+11,7
@@
int xbt_getpid()
{
-
smx_actor_t
self = SIMIX_process_self();
+
const simgrid::kernel::actor::ActorImpl*
self = SIMIX_process_self();
return self == nullptr ? 0 : self->get_pid();
}