summaryrefslogtreecommitdiff
path: root/TAO/tests/DII_AMI_Forward/server_interceptor.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tests/DII_AMI_Forward/server_interceptor.cpp')
-rw-r--r--TAO/tests/DII_AMI_Forward/server_interceptor.cpp3
1 files changed, 2 insertions, 1 deletions
diff --git a/TAO/tests/DII_AMI_Forward/server_interceptor.cpp b/TAO/tests/DII_AMI_Forward/server_interceptor.cpp
index 401a5683c9c..4ac94e07c1a 100644
--- a/TAO/tests/DII_AMI_Forward/server_interceptor.cpp
+++ b/TAO/tests/DII_AMI_Forward/server_interceptor.cpp
@@ -74,7 +74,8 @@ ForwardTest_Request_Interceptor::receive_request_service_contexts (
"Sending LOCATION_FORWARD, current thread %i\n",
ACE_Thread::self ()));
- throw PortableInterceptor::ForwardRequest (this->forward_location_);
+ throw PortableInterceptor::ForwardRequest (
+ CORBA::Object::_duplicate (this->forward_location_.in ()));
}
}