summaryrefslogtreecommitdiff
path: root/TAO/tao/RTCORBA/RT_Endpoint_Utils.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/RTCORBA/RT_Endpoint_Utils.cpp')
-rw-r--r--TAO/tao/RTCORBA/RT_Endpoint_Utils.cpp12
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tao/RTCORBA/RT_Endpoint_Utils.cpp b/TAO/tao/RTCORBA/RT_Endpoint_Utils.cpp
index 9ba2b8b9c7c..a40e7fa42b6 100644
--- a/TAO/tao/RTCORBA/RT_Endpoint_Utils.cpp
+++ b/TAO/tao/RTCORBA/RT_Endpoint_Utils.cpp
@@ -10,8 +10,8 @@ ACE_RCSID(tao, RT_Endpoint_Utils, "$Id$")
// ****************************************************************
CORBA::Policy *
-TAO_RT_Endpoint_Utils::priority_bands_policy (TAO_GIOP_Invocation *invocation,
- CORBA::Environment &ACE_TRY_ENV)
+TAO_RT_Endpoint_Utils::priority_bands_policy (TAO_GIOP_Invocation *invocation
+ TAO_ENV_ARG_DECL)
{
CORBA::Policy *bands_policy = CORBA::Policy::_nil ();
TAO_RT_Stub *rt_stub =
@@ -20,7 +20,7 @@ TAO_RT_Endpoint_Utils::priority_bands_policy (TAO_GIOP_Invocation *invocation,
ACE_TRY
{
bands_policy =
- rt_stub->effective_priority_banded_connection (ACE_TRY_ENV);
+ rt_stub->effective_priority_banded_connection (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCH (CORBA::INV_POLICY, ex)
@@ -40,8 +40,8 @@ TAO_RT_Endpoint_Utils::priority_bands_policy (TAO_GIOP_Invocation *invocation,
}
CORBA::Policy *
-TAO_RT_Endpoint_Utils::client_protocol_policy (TAO_GIOP_Invocation *invocation,
- CORBA::Environment &ACE_TRY_ENV)
+TAO_RT_Endpoint_Utils::client_protocol_policy (TAO_GIOP_Invocation *invocation
+ TAO_ENV_ARG_DECL)
{
TAO_RT_Stub *rt_stub =
ACE_dynamic_cast (TAO_RT_Stub *, invocation->stub ());
@@ -49,7 +49,7 @@ TAO_RT_Endpoint_Utils::client_protocol_policy (TAO_GIOP_Invocation *invocation,
CORBA::Policy *retval = 0;
ACE_TRY
{
- retval = rt_stub->effective_client_protocol (ACE_TRY_ENV);
+ retval = rt_stub->effective_client_protocol (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_TRY_CHECK;
}
ACE_CATCH (CORBA::INV_POLICY, ex)