summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/Security/Security_Current.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Security/Security_Current.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/Security/Security_Current.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Security/Security_Current.cpp b/TAO/orbsvcs/orbsvcs/Security/Security_Current.cpp
index 6e6335855d0..bccb5842a4d 100644
--- a/TAO/orbsvcs/orbsvcs/Security/Security_Current.cpp
+++ b/TAO/orbsvcs/orbsvcs/Security/Security_Current.cpp
@@ -25,8 +25,8 @@ TAO_Security_Current::~TAO_Security_Current (void)
Security::AttributeList *
TAO_Security_Current::get_attributes (
- const Security::AttributeTypeList &attributes,
- CORBA::Environment &ACE_TRY_ENV)
+ const Security::AttributeTypeList &attributes
+ TAO_ENV_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_Security_Current_Impl *impl = this->implementation ();
@@ -37,12 +37,12 @@ TAO_Security_Current::get_attributes (
if (impl == 0)
ACE_THROW_RETURN (CORBA::BAD_INV_ORDER (), 0);
- return impl->get_attributes (attributes, ACE_TRY_ENV);
+ return impl->get_attributes (attributes TAO_ENV_ARG_PARAMETER);
}
SecurityLevel2::ReceivedCredentials_ptr
TAO_Security_Current::received_credentials (
- CORBA::Environment &ACE_TRY_ENV)
+ TAO_ENV_SINGLE_ARG_DECL)
ACE_THROW_SPEC ((CORBA::SystemException))
{
TAO_Security_Current_Impl *impl = this->implementation ();
@@ -53,7 +53,7 @@ TAO_Security_Current::received_credentials (
if (impl == 0)
ACE_THROW_RETURN (CORBA::BAD_INV_ORDER (), 0);
- return impl->received_credentials (ACE_TRY_ENV);
+ return impl->received_credentials (TAO_ENV_SINGLE_ARG_PARAMETER);
}
int
@@ -61,15 +61,15 @@ TAO_Security_Current::init (void)
{
int result = 0;
- ACE_DECLARE_NEW_CORBA_ENV;
+ TAO_ENV_DECLARE_NEW_ENV;
ACE_TRY
{
int argc = 0;
char **argv = 0;
CORBA::ORB_var orb = CORBA::ORB_init (argc,
argv,
- this->orb_id_.in (),
- ACE_TRY_ENV);
+ this->orb_id_.in ()
+ TAO_ENV_ARG_PARAMETER);
ACE_TRY_CHECK;
this->orb_core_ = orb.in ()->orb_core ();