Logo AND Algorithmique Numérique Distribuée

Public GIT Repository
Netzone::get_children() is actually not deprecated.
authorArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 14 Jul 2021 14:18:02 +0000 (16:18 +0200)
committerArnaud Giersch <arnaud.giersch@univ-fcomte.fr>
Wed, 14 Jul 2021 14:24:05 +0000 (16:24 +0200)
Move its declaration outside of #ifndef DOXYGEN.

include/simgrid/s4u/NetZone.hpp

index d814cf2..691e989 100644 (file)
@@ -44,6 +44,7 @@ public:
 
   NetZone* get_parent() const;
   NetZone* set_parent(const NetZone* parent);
+  std::vector<NetZone*> get_children() const;
 
   std::vector<Host*> 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<NetZone*> get_children() const;
   XBT_ATTRIB_DEPRECATED_v332("Please use set_parent() to manage NetZone's relationship") NetZone* add_child(
       NetZone* new_zone);
 #endif