diff options
Diffstat (limited to 'TAO/tao/PortableServer/ServerRequestInfo.inl')
-rw-r--r-- | TAO/tao/PortableServer/ServerRequestInfo.inl | 7 |
1 files changed, 4 insertions, 3 deletions
diff --git a/TAO/tao/PortableServer/ServerRequestInfo.inl b/TAO/tao/PortableServer/ServerRequestInfo.inl index 6f548eae3c9..b0bc239247f 100644 --- a/TAO/tao/PortableServer/ServerRequestInfo.inl +++ b/TAO/tao/PortableServer/ServerRequestInfo.inl @@ -30,8 +30,8 @@ TAO_ServerRequestInfo::forward_reference ( this->reply_status_ = PortableInterceptor::LOCATION_FORWARD; - this->forward_reference_ = - CORBA::Object::_duplicate (exc.forward.in ()); + // Store the forward reference in the TAO_ServerRequest object. + this->server_request_.forward_location (exc.forward.in ()); } ACE_INLINE void @@ -42,5 +42,6 @@ TAO_ServerRequestInfo::forward_reference (CORBA::Object_ptr obj) this->reply_status_ = PortableInterceptor::LOCATION_FORWARD; - this->forward_reference_ = CORBA::Object::_duplicate (obj); + // Store the forward reference in the TAO_ServerRequest object. + this->server_request_.forward_location (obj); } |