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
Use const references (sonar).
[simgrid.git]
/
src
/
instr
/
instr_paje_containers.cpp
diff --git
a/src/instr/instr_paje_containers.cpp
b/src/instr/instr_paje_containers.cpp
index
8fcdfa0
..
647857d
100644
(file)
--- a/
src/instr/instr_paje_containers.cpp
+++ b/
src/instr/instr_paje_containers.cpp
@@
-74,7
+74,7
@@
Container::~Container()
{
XBT_DEBUG("destroy container %s", get_cname());
// Begin with destroying my own children
- for (auto [_, child] : children_)
+ for (auto
const&
[_, child] : children_)
delete child;
// remove me from the all_containers_ data structure