diff options
Diffstat (limited to 'TAO/tests/Portable_Interceptors/Bug_2510_Regression/test_i.cpp')
-rw-r--r-- | TAO/tests/Portable_Interceptors/Bug_2510_Regression/test_i.cpp | 10 |
1 files changed, 4 insertions, 6 deletions
diff --git a/TAO/tests/Portable_Interceptors/Bug_2510_Regression/test_i.cpp b/TAO/tests/Portable_Interceptors/Bug_2510_Regression/test_i.cpp index 2686a6bfa70..1dd810a18be 100644 --- a/TAO/tests/Portable_Interceptors/Bug_2510_Regression/test_i.cpp +++ b/TAO/tests/Portable_Interceptors/Bug_2510_Regression/test_i.cpp @@ -26,8 +26,8 @@ Visual_i::normal (CORBA::Long arg CORBA::Object_var piobj = orb_->resolve_initial_references ("PICurrent"); PortableInterceptor::Current_var pi_current = PortableInterceptor::Current::_narrow (piobj.in () ); - - if (CORBA::is_nil (pi_current.in ())) + + if (CORBA::is_nil (pi_current.in ())) { ACE_DEBUG ((LM_DEBUG, "Visual_i::normal : Unable to obtain PICurrent reference\n")); throw CORBA::INTERNAL(); @@ -44,10 +44,9 @@ Visual_i::normal (CORBA::Long arg throw; } ACE_ENDTRY; - ACE_CHECK; const char *str = 0; - if (! (retrieved_any.in() >>= str) ) + if (! (retrieved_any.in() >>= str) ) { ACE_DEBUG ((LM_DEBUG, "Visual_i::normal : Problem extracting data from CORBA::Any\n")); throw CORBA::INTERNAL(); @@ -59,9 +58,8 @@ Visual_i::normal (CORBA::Long arg } void -Visual_i::shutdown (ACE_ENV_SINGLE_ARG_DECL) +Visual_i::shutdown (void) ACE_THROW_SPEC ((CORBA::SystemException)) { this->orb_->shutdown (0 ACE_ENV_ARG_PARAMETER); - ACE_CHECK; } |