diff options
author | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
---|---|---|
committer | Ossama Othman <ossama-othman@users.noreply.github.com> | 2001-12-08 21:59:30 +0000 |
commit | 63165b00e2d667e39e15cf084128d94a563d484e (patch) | |
tree | 6939cf1ed0a80ce8a3224d33f3d23c0e1b9a517f /TAO/examples/Simple/bank/AccountManager_i.cpp | |
parent | 6579bccb3a3f22f882ef908ad5f7e1a65b00b133 (diff) | |
download | ATCD-63165b00e2d667e39e15cf084128d94a563d484e.tar.gz |
Merged corba-env-clean branch.
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, |