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
a dict was a unkowning vector
[simgrid.git]
/
include
/
simgrid
/
s4u
/
NetZone.hpp
diff --git
a/include/simgrid/s4u/NetZone.hpp
b/include/simgrid/s4u/NetZone.hpp
index
c05a251
..
4ba3ef2
100644
(file)
--- a/
include/simgrid/s4u/NetZone.hpp
+++ b/
include/simgrid/s4u/NetZone.hpp
@@
-48,7
+48,7
@@
public:
char* name();
NetZone* father();
char* name();
NetZone* father();
-
xbt_dict_t
children(); // Sub netzones
+
std::vector<NetZone*>*
children(); // Sub netzones
std::vector<Host*>* hosts(); // my content as a vector of hosts
/** Get the properties assigned to a host */
std::vector<Host*>* hosts(); // my content as a vector of hosts
/** Get the properties assigned to a host */
@@
-80,7
+80,7
@@
private:
bool sealed_ = false; // We cannot add more content when sealed
bool sealed_ = false; // We cannot add more content when sealed
-
xbt_dict_t children_ = xbt_dict_new_homogeneous(nullptr)
; // sub-netzones
+
std::vector<NetZone*>* children_
; // sub-netzones
};
}
}; // Namespace simgrid::s4u
};
}
}; // Namespace simgrid::s4u