diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Benchmark/test_i.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Benchmark/test_i.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/tests/Portable_Interceptors/Benchmark/test_i.cpp b/TAO/tests/Portable_Interceptors/Benchmark/test_i.cpp index 486c503d03c..bc2945f2fed 100644 --- a/TAO/tests/Portable_Interceptors/Benchmark/test_i.cpp +++ b/TAO/tests/Portable_Interceptors/Benchmark/test_i.cpp @@ -20,20 +20,18 @@ Secure_Vault_i::ready (void) } void -Secure_Vault_i::authenticate (const char * user - ACE_ENV_ARG_DECL) +Secure_Vault_i::authenticate (const char * user) ACE_THROW_SPEC ((CORBA::SystemException, Test_Interceptors::Invalid)) { if (ACE_OS::strcmp (user, "root") != 0) - ACE_THROW (Test_Interceptors::Invalid ()); + throw Test_Interceptors::Invalid (); } CORBA::Long Secure_Vault_i::update_records (CORBA::Long, - const Test_Interceptors::Secure_Vault::Record & - ACE_ENV_ARG_DECL_NOT_USED) + const Test_Interceptors::Secure_Vault::Record &) ACE_THROW_SPEC ((CORBA::SystemException)) { return 1; @@ -43,5 +41,5 @@ void Secure_Vault_i::shutdown (void) ACE_THROW_SPEC ((CORBA::SystemException)) { - this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER); + this->orb_->shutdown (0); } |