summaryrefslogtreecommitdiff
path: root/TAO/tao/Messaging/Messaging_Policy_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/tao/Messaging/Messaging_Policy_i.cpp')
-rw-r--r--TAO/tao/Messaging/Messaging_Policy_i.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/tao/Messaging/Messaging_Policy_i.cpp b/TAO/tao/Messaging/Messaging_Policy_i.cpp
index 022de7a4acf..3d98a6f8ebb 100644
--- a/TAO/tao/Messaging/Messaging_Policy_i.cpp
+++ b/TAO/tao/Messaging/Messaging_Policy_i.cpp
@@ -107,7 +107,7 @@ TAO_RelativeRoundtripTimeoutPolicy::hook (TAO_ORB_Core *orb_core,
time_value.msec ()));
}
}
- catch ( ::CORBA::Exception&)
+ catch (const ::CORBA::Exception&)
{
// Ignore all exceptions...
}
@@ -262,7 +262,7 @@ TAO_Sync_Scope_Policy::hook (TAO_ORB_Core *orb_core,
has_synchronization = true;
scope = p->synchronization ();
}
- catch ( ::CORBA::Exception&)
+ catch (const ::CORBA::Exception&)
{
// Ignore all exceptions...
}