diff options
Diffstat (limited to 'TAO/examples/Simple/bank/Account_i.cpp')
-rw-r--r-- | TAO/examples/Simple/bank/Account_i.cpp | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/TAO/examples/Simple/bank/Account_i.cpp b/TAO/examples/Simple/bank/Account_i.cpp index 5e04b7c3b67..2f150afc54a 100644 --- a/TAO/examples/Simple/bank/Account_i.cpp +++ b/TAO/examples/Simple/bank/Account_i.cpp @@ -37,7 +37,7 @@ Account_i::orb (CORBA::ORB_ptr o) // Return the current balance on the server. CORBA::Float -Account_i::balance (TAO_ENV_SINGLE_ARG_DECL_NOT_USED) +Account_i::balance (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException)) { return balance_; @@ -45,7 +45,7 @@ Account_i::balance (TAO_ENV_SINGLE_ARG_DECL_NOT_USED) void Account_i::deposit (CORBA::Float deposit - TAO_ENV_ARG_DECL_NOT_USED) + ACE_ENV_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException)) { balance_ += deposit; @@ -53,7 +53,7 @@ Account_i::deposit (CORBA::Float deposit void Account_i::withdraw (CORBA::Float withdrawl - TAO_ENV_ARG_DECL) + ACE_ENV_ARG_DECL) ACE_THROW_SPEC ((CORBA::SystemException, Bank::Account::Overdraft)) { @@ -64,7 +64,7 @@ Account_i::withdraw (CORBA::Float withdrawl } char * -Account_i::name (TAO_ENV_SINGLE_ARG_DECL_NOT_USED) +Account_i::name (ACE_ENV_SINGLE_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException)) { return CORBA::string_dup (this->name_.in ()); @@ -72,7 +72,7 @@ Account_i::name (TAO_ENV_SINGLE_ARG_DECL_NOT_USED) void Account_i::name (const char *name - TAO_ENV_ARG_DECL_NOT_USED) + ACE_ENV_ARG_DECL_NOT_USED) ACE_THROW_SPEC ((CORBA::SystemException)) { this->name_ = CORBA::string_dup (name); |