Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Return const reference to vector.
[simgrid.git] / src / kernel / routing / NetZoneImpl.cpp
index 4df1cef..a47f4b4 100644 (file)
@@ -470,7 +470,7 @@ void NetZoneImpl::seal()
   for (auto* host : get_all_hosts()) {
     host->seal();
   }
-  for (auto* sub_net : *get_children()) {
+  for (auto* sub_net : get_children()) {
     sub_net->seal();
   }
   sealed_ = true;