diff options
Diffstat (limited to 'TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp')
-rw-r--r-- | TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp | 14 |
1 files changed, 1 insertions, 13 deletions
diff --git a/TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp b/TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp index 7970d7df3f8..294c3acfa60 100644 --- a/TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp +++ b/TAO/tests/Nested_Upcall_Crash/Server_Peer.cpp @@ -48,19 +48,7 @@ Server_Peer::callme(Test::Peer_ptr callback, } else if (max_depth > 0) { - CORBA::Object_var poa_object = - this->orb_->resolve_initial_references("RootPOA"); - - PortableServer::POA_var root_poa = - PortableServer::POA::_narrow (poa_object.in ()); - - PortableServer::ObjectId_var id = - root_poa->activate_object (this); - - CORBA::Object_var object = root_poa->id_to_reference (id.in ()); - - Test::Peer_var me = - Test::Peer::_narrow (object.in ()); + Test::Peer_var me = this->_this (); Test::Payload extra_data(this->payload_size_); extra_data.length(this->payload_size_); |