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/mc/.
[simgrid.git]
/
src
/
mc
/
sosp
/
Snapshot.hpp
diff --git
a/src/mc/sosp/Snapshot.hpp
b/src/mc/sosp/Snapshot.hpp
index
6741084
..
92ea945
100644
(file)
--- a/
src/mc/sosp/Snapshot.hpp
+++ b/
src/mc/sosp/Snapshot.hpp
@@
-66,7
+66,7
@@
public:
/* Regular use */
bool on_heap(const void* address) const
{
- const
xbt_mheap_t
heap = process()->get_heap();
+ const
mdesc*
heap = process()->get_heap();
return address >= heap->heapbase && address < heap->breakval;
}