diff options
Diffstat (limited to 'TAO/examples/Simple/bank/AccountManager_i.cpp')
-rw-r--r-- | TAO/examples/Simple/bank/AccountManager_i.cpp | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/TAO/examples/Simple/bank/AccountManager_i.cpp b/TAO/examples/Simple/bank/AccountManager_i.cpp index d8164c3a611..02be9d03647 100644 --- a/TAO/examples/Simple/bank/AccountManager_i.cpp +++ b/TAO/examples/Simple/bank/AccountManager_i.cpp @@ -50,8 +50,8 @@ AccountManager_i::set_orb_manager (TAO_ORB_Manager *orb_manager) Bank::Account_ptr AccountManager_i::open (const char *name, - CORBA::Float initial_balance, - CORBA::Environment &ACE_TRY_ENV) + CORBA::Float initial_balance + TAO_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { Account_i *result = 0; @@ -98,14 +98,14 @@ AccountManager_i::open (const char *name, // Shutdown. void -AccountManager_i::close (Bank::Account_ptr account, - CORBA::Environment &ACE_TRY_ENV) +AccountManager_i::close (Bank::Account_ptr account + TAO_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_TRY { CORBA::String_var name = - CORBA::string_dup (account->name (ACE_TRY_ENV)); + CORBA::string_dup (account->name (TAO_ENV_SINGLE_ARG_PARAMETER)); ACE_TRY_CHECK; @@ -130,7 +130,7 @@ AccountManager_i::close (Bank::Account_ptr account, } void -AccountManager_i::shutdown (CORBA::Environment &) +AccountManager_i::shutdown (TAO_ENV_SINGLE_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException)) { ACE_DEBUG ((LM_DEBUG, |