summaryrefslogtreecommitdiff
path: root/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp
diff options
context:
space:
mode:
authoryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-08-08 15:54:46 +0000
committeryamuna <yamuna@ae88bc3d-4319-0410-8dbf-d08b4c9d3795>2002-08-08 15:54:46 +0000
commit9db6e96f19cfd6aa5e7f363cb622fdd90d05a1b7 (patch)
tree018242b45a8cc1c90b4f9d8e8803930c7604452f /TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp
parent0092733f13bc53190f60eb1315723947426f9441 (diff)
downloadATCD-9db6e96f19cfd6aa5e7f363cb622fdd90d05a1b7.tar.gz
ChangelogTag: Thurs Aug 8 11:36:45 2002 Yamuna Krishnamurthy <yamuna@oomworks.com>
Diffstat (limited to 'TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp')
-rw-r--r--TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp5
1 files changed, 1 insertions, 4 deletions
diff --git a/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp b/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp
index 3e6fe63d0ea..87640e240a8 100644
--- a/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp
+++ b/TAO/tao/RTPortableServer/RT_Servant_Dispatcher.cpp
@@ -86,13 +86,10 @@ TAO_RT_Servant_Dispatcher::pre_invoke_remote_request (TAO_POA &poa,
const char protocol [] = "iiop";
const char *protocol_type = protocol;
- TAO_RT_POA *rt_poa = ACE_dynamic_cast (TAO_RT_POA *,
- &poa);
-
TAO_IIOP_Transport *iiop_transport = ACE_dynamic_cast (TAO_IIOP_Transport *,
req.transport ());
- CORBA::Policy* policy = rt_poa->server_protocol ();
+ CORBA::Policy* policy = poa.server_protocol ();
int result =
tph->update_server_protocol_properties (policy,