summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.cpp b/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.cpp
index e064b8ec78a..0c521f8e592 100644
--- a/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.cpp
+++ b/TAO/tao/PortableServer/Direct_Collocation_Upcall_Wrapper.cpp
@@ -49,14 +49,14 @@ TAO::Direct_Collocation_Upcall_Wrapper::upcall (
num_args);
}
#if (TAO_HAS_MINIMUM_CORBA == 0) && !defined (CORBA_E_COMPACT) && !defined (CORBA_E_MICRO)
- catch ( ::PortableServer::ForwardRequest& forward_request)
+ catch (const ::PortableServer::ForwardRequest& forward_request)
{
forward_obj =
CORBA::Object::_duplicate (forward_request.forward_reference.in ());
return;
}
#else
- catch ( ::CORBA::Exception& ex)
+ catch (const ::CORBA::Exception&)
{
ACE_UNUSED_ARG (forward_obj);
throw;