diff options
Diffstat (limited to 'TAO/tests/Bug_1551_Regression/server.cpp')
-rw-r--r-- | TAO/tests/Bug_1551_Regression/server.cpp | 7 |
1 files changed, 6 insertions, 1 deletions
diff --git a/TAO/tests/Bug_1551_Regression/server.cpp b/TAO/tests/Bug_1551_Regression/server.cpp index efc4485a8d6..fd71f6b2ee7 100644 --- a/TAO/tests/Bug_1551_Regression/server.cpp +++ b/TAO/tests/Bug_1551_Regression/server.cpp @@ -77,8 +77,13 @@ main (int argc, char *argv[]) TAO::Utils::Servant_Var<Hello> hello_impl( new Hello(orb.in(), simulate_crashes)); + PortableServer::ObjectId_var id = + root_poa->activate_object (hello_impl.in ()); + + CORBA::Object_var object = root_poa->id_to_reference (id.in ()); + Test::Hello_var hello = - hello_impl->_this (); + Test::Hello::_narrow (object.in ()); CORBA::String_var ior = orb->object_to_string (hello.in ()); |