summaryrefslogtreecommitdiff
path: root/TAO/tao/MProfile.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/MProfile.cpp')
-rw-r--r--TAO/tao/MProfile.cpp14
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/tao/MProfile.cpp b/TAO/tao/MProfile.cpp
index 56e0c37a43c..bcc25e545fb 100644
--- a/TAO/tao/MProfile.cpp
+++ b/TAO/tao/MProfile.cpp
@@ -201,7 +201,7 @@ TAO_MProfile::is_equivalent (const TAO_MProfile *rhs)
}
CORBA::ULong
-TAO_MProfile::hash (CORBA::ULong max, CORBA::Environment &ACE_TRY_ENV)
+TAO_MProfile::hash (CORBA::ULong max TAO_ENV_ARG_DECL)
{
CORBA::ULong hashval = 0;
@@ -210,7 +210,7 @@ TAO_MProfile::hash (CORBA::ULong max, CORBA::Environment &ACE_TRY_ENV)
for (TAO_PHandle h = 0; h < this->last_ ; ++h)
{
- hashval += pfiles_[h]->hash (max, ACE_TRY_ENV);
+ hashval += pfiles_[h]->hash (max TAO_ENV_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
}
@@ -222,20 +222,20 @@ TAO_MProfile::hash (CORBA::ULong max, CORBA::Environment &ACE_TRY_ENV)
}
void
-TAO_MProfile::init_policy_list (CORBA::Environment &ACE_TRY_ENV)
+TAO_MProfile::init_policy_list (TAO_ENV_SINGLE_ARG_DECL)
{
// The first time this method is called
// it causes the initialization of the policies
// for the current profile.
- this->get_current_profile ()->policies (ACE_TRY_ENV);
+ this->get_current_profile ()->policies (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK;
this->is_policy_list_initialized_ = 1;
}
CORBA::PolicyList *
-TAO_MProfile::policy_list (CORBA::Environment &ACE_TRY_ENV)
+TAO_MProfile::policy_list (TAO_ENV_SINGLE_ARG_DECL)
{
if (!this->is_policy_list_initialized_)
{
@@ -246,10 +246,10 @@ TAO_MProfile::policy_list (CORBA::Environment &ACE_TRY_ENV)
if (this->policy_list_ == 0)
{
- this->create_policy_list (ACE_TRY_ENV);
+ this->create_policy_list (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
- this->init_policy_list (ACE_TRY_ENV);
+ this->init_policy_list (TAO_ENV_SINGLE_ARG_PARAMETER);
ACE_CHECK_RETURN (0);
}
}