summaryrefslogtreecommitdiff
path: root/TAO/tao/PortableServer/Object_Adapter.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/PortableServer/Object_Adapter.cpp')
-rw-r--r--TAO/tao/PortableServer/Object_Adapter.cpp14
1 files changed, 0 insertions, 14 deletions
diff --git a/TAO/tao/PortableServer/Object_Adapter.cpp b/TAO/tao/PortableServer/Object_Adapter.cpp
index 415886c435f..768c5279d01 100644
--- a/TAO/tao/PortableServer/Object_Adapter.cpp
+++ b/TAO/tao/PortableServer/Object_Adapter.cpp
@@ -578,18 +578,6 @@ TAO_Object_Adapter::open (CORBA::Environment &ACE_TRY_ENV)
PortableServer::POAManager_var safe_poa_manager = poa_manager;
-#if 0
- TAO_POA_Policy_Set root_poa_policies (this->default_poa_policies ());
-
- if (policies == 0)
- {
- // RootPOA policies defined in spec
- root_poa_policies.implicit_activation (
- PortableServer::IMPLICIT_ACTIVATION);
-
- policies = &root_poa_policies;
- }
-#else
TAO_POA_Policy_Set policies (this->default_poa_policies ());
#if (TAO_HAS_MINIMUM_POA == 0)
@@ -604,8 +592,6 @@ TAO_Object_Adapter::open (CORBA::Environment &ACE_TRY_ENV)
ACE_TRY_ENV);
#endif /* TAO_HAS_MINIMUM_POA == 0 */
-#endif /* 0 */
-
// Construct a new POA
TAO_POA::String root_poa_name (TAO_DEFAULT_ROOTPOA_NAME);
this->root_ = this->servant_dispatcher_->create_POA (root_poa_name,