diff options
Diffstat (limited to 'TAO/tests/Timeout')
-rw-r--r-- | TAO/tests/Timeout/server.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tests/Timeout/server.cpp b/TAO/tests/Timeout/server.cpp index 4eb692eb8b6..92196824db9 100644 --- a/TAO/tests/Timeout/server.cpp +++ b/TAO/tests/Timeout/server.cpp @@ -62,8 +62,13 @@ main (int argc, char *argv[]) Simple_Server_i server_impl (orb.in ()); + PortableServer::ObjectId_var id = + root_poa->activate_object (&server_impl); + + CORBA::Object_var object = root_poa->id_to_reference (id.in ()); + Simple_Server_var server = - server_impl._this (); + Simple_Server::_narrow (object.in ()); CORBA::String_var ior = orb->object_to_string (server.in ()); |