diff options
Diffstat (limited to 'TAO/tests/Bug_1495_Regression/test_i.cpp')
-rw-r--r-- | TAO/tests/Bug_1495_Regression/test_i.cpp | 8 |
1 files changed, 1 insertions, 7 deletions
diff --git a/TAO/tests/Bug_1495_Regression/test_i.cpp b/TAO/tests/Bug_1495_Regression/test_i.cpp index 64f9a568282..60227c6d081 100644 --- a/TAO/tests/Bug_1495_Regression/test_i.cpp +++ b/TAO/tests/Bug_1495_Regression/test_i.cpp @@ -29,19 +29,13 @@ void Bug1495_i::get_thread_id ( CORBA::Long_out thread_id ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) { - thread_id = (CORBA::Long)ACE_Thread::self(); + thread_id = static_cast<CORBA::Long> ((size_t)ACE_Thread::self ()); } void Bug1495_i::shutdown ( ) - ACE_THROW_SPEC (( - CORBA::SystemException - )) { ACE_DEBUG ((LM_INFO, "Shutting down orb %i\n", |