diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Collocated/Dynamic/test_i.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Collocated/Dynamic/test_i.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/tests/Portable_Interceptors/Collocated/Dynamic/test_i.cpp b/TAO/tests/Portable_Interceptors/Collocated/Dynamic/test_i.cpp index 38c49820914..b95b285602e 100644 --- a/TAO/tests/Portable_Interceptors/Collocated/Dynamic/test_i.cpp +++ b/TAO/tests/Portable_Interceptors/Collocated/Dynamic/test_i.cpp @@ -12,8 +12,7 @@ Visual_i::Visual_i (CORBA::ORB_ptr orb) // ctor void -Visual_i::normal (CORBA::Long - ACE_ENV_ARG_DECL_NOT_USED) +Visual_i::normal (CORBA::Long) ACE_THROW_SPEC ((CORBA::SystemException)) { // ACE_DEBUG ((LM_DEBUG, "Visual::normal called with %d\n", arg)); @@ -21,8 +20,7 @@ Visual_i::normal (CORBA::Long CORBA::Long Visual_i::calculate (CORBA::Long one, - CORBA::Long two - ACE_ENV_ARG_DECL_NOT_USED) + CORBA::Long two) ACE_THROW_SPEC ((CORBA::SystemException)) { // ACE_DEBUG ((LM_DEBUG, "Visual::calculate\n")); @@ -34,7 +32,7 @@ Visual_i::user (void) ACE_THROW_SPEC ((CORBA::SystemException,Test_Interceptors::Silly)) { // ACE_DEBUG ((LM_DEBUG, "Visual::user, throwning Silly\n")); - ACE_THROW (Test_Interceptors::Silly ()); + throw Test_Interceptors::Silly (); } void @@ -42,7 +40,7 @@ Visual_i::system (void) ACE_THROW_SPEC ((CORBA::SystemException)) { // ACE_DEBUG ((LM_DEBUG, "Visual::user, throwing INV_OBJREF\n")); - ACE_THROW (CORBA::INV_OBJREF ()); + throw CORBA::INV_OBJREF (); } void |