summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 15:29:08 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2023-02-13 15:29:08 +0100
commitd9b768c3239be29c3219f2fca81b39e2dc8787b1 (patch)
treef650111f6328aa30bb583db8fd5bc3d72456470d /TAO/tao/PortableServer
parent53cabe442f3b082ee21458dfa2095fd0b5b0ba6b (diff)
downloadATCD-d9b768c3239be29c3219f2fca81b39e2dc8787b1.tar.gz
the_children is not available in all CORBA profiles
* TAO/tao/PortableServer/Root_POA.cpp: * TAO/tao/PortableServer/Root_POA.h: * TAO/tao/RTPortableServer/RT_POA.cpp: * TAO/tao/RTPortableServer/RT_POA.h:
Diffstat (limited to 'TAO/tao/PortableServer')
-rw-r--r--TAO/tao/PortableServer/Root_POA.cpp4
-rw-r--r--TAO/tao/PortableServer/Root_POA.h3
2 files changed, 5 insertions, 2 deletions
diff --git a/TAO/tao/PortableServer/Root_POA.cpp b/TAO/tao/PortableServer/Root_POA.cpp
index 049f891a4bf..f894825dd50 100644
--- a/TAO/tao/PortableServer/Root_POA.cpp
+++ b/TAO/tao/PortableServer/Root_POA.cpp
@@ -736,6 +736,8 @@ TAO_Root_POA::servant_to_reference (PortableServer::Servant servant)
return this->servant_to_reference_i (servant);
}
+
+#if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
PortableServer::POAList *
TAO_Root_POA::the_children ()
{
@@ -744,7 +746,7 @@ TAO_Root_POA::the_children ()
return this->the_children_i ();
}
-
+#endif /* TAO_HAS_MINIMUM_POA == 0 && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) */
PortableServer::Servant
TAO_Root_POA::id_to_servant (const PortableServer::ObjectId &oid)
diff --git a/TAO/tao/PortableServer/Root_POA.h b/TAO/tao/PortableServer/Root_POA.h
index 812a4b7d00e..899c8031481 100644
--- a/TAO/tao/PortableServer/Root_POA.h
+++ b/TAO/tao/PortableServer/Root_POA.h
@@ -173,14 +173,15 @@ public:
PortableServer::RequestProcessingPolicy_ptr
create_request_processing_policy (
PortableServer::RequestProcessingPolicyValue value);
-
#endif /* TAO_HAS_MINIMUM_POA == 0 && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) */
char * the_name ();
PortableServer::POA_ptr the_parent ();
+#if (TAO_HAS_MINIMUM_POA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
PortableServer::POAList *the_children ();
+#endif /* TAO_HAS_MINIMUM_POA == 0 && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO) */
PortableServer::POAManager_ptr the_POAManager ();