summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/common.h
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/Bug_1884_Regression/common.h')
-rw-r--r--TAO/orbsvcs/tests/Notify/Bug_1884_Regression/common.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/common.h b/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/common.h
index 4f9a251dfcd..8ac58bf4e75 100644
--- a/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/common.h
+++ b/TAO/orbsvcs/tests/Notify/Bug_1884_Regression/common.h
@@ -38,7 +38,7 @@ get_event_channel(CORBA::ORB_ptr orb)
{
channelIdSeq = factory->get_all_channels();
}
- catch (CORBA::SystemException& se )
+ catch (const CORBA::SystemException& se )
{
std::cerr << "System exception occurred during get_all_channels: "
<< se << std::endl;
@@ -51,7 +51,7 @@ get_event_channel(CORBA::ORB_ptr orb)
{
ec = factory->create_channel( init_qos, init_admin, id);
}
- catch (CORBA::SystemException& se )
+ catch (const CORBA::SystemException& se )
{
std::cerr << "System exception occurred during find_channel: "
<< se << std::endl;
@@ -70,7 +70,7 @@ get_event_channel(CORBA::ORB_ptr orb)
throw;
}
- catch (CORBA::SystemException& se )
+ catch (const CORBA::SystemException& se )
{
std::cerr << "System exception occurred during get_event_channel: "
<< se << std::endl;