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] Replace redundant type with "auto" (include/ and src/).
[simgrid.git]
/
src
/
instr
/
jedule
/
jedule_platform.cpp
diff --git
a/src/instr/jedule/jedule_platform.cpp
b/src/instr/jedule/jedule_platform.cpp
index
2b06531
..
1a6ce7e
100644
(file)
--- a/
src/instr/jedule/jedule_platform.cpp
+++ b/
src/instr/jedule/jedule_platform.cpp
@@
-58,7
+58,7
@@
void Container::create_hierarchy(const_sg_netzone_t from_as)
this->add_resources(table);
} else {
for (auto const& nz : from_as->get_children()) {
this->add_resources(table);
} else {
for (auto const& nz : from_as->get_children()) {
-
jed_container_t
child_container = new simgrid::jedule::Container(nz->get_name());
+
auto*
child_container = new simgrid::jedule::Container(nz->get_name());
this->add_child(child_container);
child_container->create_hierarchy(nz);
}
this->add_child(child_container);
child_container->create_hierarchy(nz);
}