diff options
Diffstat (limited to 'TAO/tests/Crashed_Callback/client.cpp')
-rw-r--r-- | TAO/tests/Crashed_Callback/client.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tests/Crashed_Callback/client.cpp b/TAO/tests/Crashed_Callback/client.cpp index e007084b933..8d99edeca1b 100644 --- a/TAO/tests/Crashed_Callback/client.cpp +++ b/TAO/tests/Crashed_Callback/client.cpp @@ -104,8 +104,13 @@ main (int argc, char *argv[]) 1); PortableServer::ServantBase_var owner_transfer(crashed_callback_impl); + PortableServer::ObjectId_var id = + root_poa->activate_object (crashed_callback_impl); + + CORBA::Object_var object = root_poa->id_to_reference (id.in ()); + Test::Crashed_Callback_var crashed_callback = - crashed_callback_impl->_this (); + Test::Crashed_Callback::_narrow (object.in ()); poa_manager->activate (); |