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 structured binding declarations (sonar, c++17).
[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
3d680b2
..
8fcdfa0
100644
(file)
--- a/
src/instr/instr_paje_containers.cpp
+++ b/
src/instr/instr_paje_containers.cpp
@@
-74,8
+74,8
@@
Container::~Container()
{
XBT_DEBUG("destroy container %s", get_cname());
// Begin with destroying my own children
- for (auto
child
: children_)
- delete child
.second
;
+ for (auto
[_, child]
: children_)
+ delete child;
// remove me from the all_containers_ data structure
all_containers_.erase(name_);