diff options
Diffstat (limited to 'TAO/tao/RTCORBA/RT_Current.cpp')
-rw-r--r-- | TAO/tao/RTCORBA/RT_Current.cpp | 18 |
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/tao/RTCORBA/RT_Current.cpp b/TAO/tao/RTCORBA/RT_Current.cpp index 87be7a060b6..f49b60d835a 100644 --- a/TAO/tao/RTCORBA/RT_Current.cpp +++ b/TAO/tao/RTCORBA/RT_Current.cpp @@ -28,16 +28,16 @@ TAO_RT_Current::~TAO_RT_Current (void) } RTCORBA::Priority -TAO_RT_Current::the_priority (CORBA::Environment &ACE_TRY_ENV) +TAO_RT_Current::the_priority (TAO_ENV_SINGLE_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { RTCORBA::Priority priority; - TAO_Protocols_Hooks *tph = this->orb_core_->get_protocols_hooks (ACE_TRY_ENV); + TAO_Protocols_Hooks *tph = this->orb_core_->get_protocols_hooks (TAO_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK_RETURN (-1); - int result = tph->get_thread_CORBA_priority (priority, - ACE_TRY_ENV); + int result = tph->get_thread_CORBA_priority (priority + TAO_ENV_ARG_PARAMETER); ACE_CHECK_RETURN (-1); if (result == -1) @@ -47,16 +47,16 @@ TAO_RT_Current::the_priority (CORBA::Environment &ACE_TRY_ENV) } void -TAO_RT_Current::the_priority (RTCORBA::Priority the_priority, - CORBA::Environment &ACE_TRY_ENV) +TAO_RT_Current::the_priority (RTCORBA::Priority the_priority + TAO_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { - TAO_Protocols_Hooks *tph = this->orb_core_->get_protocols_hooks (ACE_TRY_ENV); + TAO_Protocols_Hooks *tph = this->orb_core_->get_protocols_hooks (TAO_ENV_SINGLE_ARG_PARAMETER); ACE_CHECK; - int result = tph->set_thread_CORBA_priority (the_priority, - ACE_TRY_ENV); + int result = tph->set_thread_CORBA_priority (the_priority + TAO_ENV_ARG_PARAMETER); ACE_CHECK; if (result == -1) |