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/instr/.
[simgrid.git]
/
src
/
instr
/
instr_paje_events.cpp
diff --git
a/src/instr/instr_paje_events.cpp
b/src/instr/instr_paje_events.cpp
index
e50eda2
..
a1d0a0b
100644
(file)
--- a/
src/instr/instr_paje_events.cpp
+++ b/
src/instr/instr_paje_events.cpp
@@
-40,7
+40,7
@@
StateEvent::StateEvent(Container* container, Type* type, e_event_type event_type
{
#if HAVE_SMPI
if (simgrid::config::get_value<bool>("smpi/trace-call-location")) {
- smpi_trace_call_location_t* loc = smpi_trace_get_call_location();
+
const
smpi_trace_call_location_t* loc = smpi_trace_get_call_location();
filename = loc->filename;
linenumber = loc->linenumber;
}