summaryrefslogtreecommitdiff
path: root/TAO/examples/POA/FindPOA/FindPOA.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/POA/FindPOA/FindPOA.cpp')
-rw-r--r--TAO/examples/POA/FindPOA/FindPOA.cpp10
1 files changed, 1 insertions, 9 deletions
diff --git a/TAO/examples/POA/FindPOA/FindPOA.cpp b/TAO/examples/POA/FindPOA/FindPOA.cpp
index 91021c1b9a9..44edc46c1b2 100644
--- a/TAO/examples/POA/FindPOA/FindPOA.cpp
+++ b/TAO/examples/POA/FindPOA/FindPOA.cpp
@@ -45,16 +45,8 @@ main (int argc, char **argv)
PortableServer::POA::_narrow (obj.in(), ACE_TRY_ENV);
ACE_TRY_CHECK;
- // Get the POAManager of the RootPOA.
- PortableServer::POAManager_var poa_manager =
- root_poa->the_POAManager (ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
- poa_manager->activate (ACE_TRY_ENV);
- ACE_TRY_CHECK;
-
// Get a TAO_Adapter_Activator reference
- TAO_Adapter_Activator activator_impl (poa_manager.in ());
+ TAO_Adapter_Activator activator_impl;
ACE_OS::strcpy (str, "TAO_Adapter_Activator::_this");
PortableServer::AdapterActivator_var activator =