From fb81ec97bb5a878a5070f6d6fe6e20a3271d5d89 Mon Sep 17 00:00:00 2001 From: Arnaud Giersch Date: Wed, 14 Jul 2021 16:18:02 +0200 Subject: [PATCH] Netzone::get_children() is actually not deprecated. Move its declaration outside of #ifndef DOXYGEN. --- include/simgrid/s4u/NetZone.hpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/include/simgrid/s4u/NetZone.hpp b/include/simgrid/s4u/NetZone.hpp index d814cf21db..691e9896fc 100644 --- a/include/simgrid/s4u/NetZone.hpp +++ b/include/simgrid/s4u/NetZone.hpp @@ -44,6 +44,7 @@ public: NetZone* get_parent() const; NetZone* set_parent(const NetZone* parent); + std::vector get_children() const; std::vector get_all_hosts() const; int get_host_count() const; @@ -60,7 +61,6 @@ public: #ifndef DOXYGEN XBT_ATTRIB_DEPRECATED_v331("Please use get_parent()") NetZone* get_father() const; - std::vector get_children() const; XBT_ATTRIB_DEPRECATED_v332("Please use set_parent() to manage NetZone's relationship") NetZone* add_child( NetZone* new_zone); #endif -- 2.20.1