X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/53300623ffc4a530dedcc517d559926ea0891edf..9da45f53bdedff9ac9320a7a3c2ac1d5b9184ce2:/src/s4u/s4u_Netzone.cpp diff --git a/src/s4u/s4u_Netzone.cpp b/src/s4u/s4u_Netzone.cpp index a01bd946c5..d361ce0b65 100644 --- a/src/s4u/s4u_Netzone.cpp +++ b/src/s4u/s4u_Netzone.cpp @@ -57,7 +57,7 @@ void NetZone::set_property(const char* key, const char* value) * * This function returns the internal copy of the children, not a copy. Don't mess with it! */ -std::vector* NetZone::getChildren() +std::vector* NetZone::get_children() { return children_; } @@ -96,7 +96,7 @@ void NetZone::getHosts(std::vector* whereto) } } -int NetZone::getHostCount() +int NetZone::get_host_count() { int count = 0; for (auto const& card : vertices_) { @@ -142,7 +142,7 @@ sg_netzone_t sg_zone_get_by_name(const char* name) void sg_zone_get_sons(sg_netzone_t netzone, xbt_dict_t whereto) { - for (auto const& elem : *netzone->getChildren()) { + for (auto const& elem : *netzone->get_children()) { xbt_dict_set(whereto, elem->get_cname(), static_cast(elem), nullptr); } }