summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2011-10-24 07:07:00 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2011-10-24 07:07:00 +0000
commit6441487ca5f20cdce453c65fc251cf12a07d4693 (patch)
tree81472db23ecf2fc0fc6bf7f000f5679efb534b2c
parentea78cfad54b7459dd7498a7895b75a65c989c95c (diff)
downloadATCD-6441487ca5f20cdce453c65fc251cf12a07d4693.tar.gz
Fixed OpenVMS ambiguity
-rw-r--r--TAO/tests/POA/On_Demand_Act_Direct_Coll/Client_Task.cpp4
-rw-r--r--TAO/tests/POA/On_Demand_Act_Direct_Coll/Collocated_Test.cpp8
2 files changed, 6 insertions, 6 deletions
diff --git a/TAO/tests/POA/On_Demand_Act_Direct_Coll/Client_Task.cpp b/TAO/tests/POA/On_Demand_Act_Direct_Coll/Client_Task.cpp
index 8d58e75ad98..75f8e2d482e 100644
--- a/TAO/tests/POA/On_Demand_Act_Direct_Coll/Client_Task.cpp
+++ b/TAO/tests/POA/On_Demand_Act_Direct_Coll/Client_Task.cpp
@@ -6,11 +6,11 @@
Client_Task::Client_Task (const ACE_TCHAR *ior,
CORBA::ORB_ptr corb,
ACE_Thread_Manager *thr_mgr,
- CORBA::Boolean exception)
+ CORBA::Boolean except)
: ACE_Task_Base (thr_mgr)
, input_ (ior)
, corb_ (CORBA::ORB::_duplicate (corb))
- , except_ (exception)
+ , except_ (except)
{
}
diff --git a/TAO/tests/POA/On_Demand_Act_Direct_Coll/Collocated_Test.cpp b/TAO/tests/POA/On_Demand_Act_Direct_Coll/Collocated_Test.cpp
index 53f3bf81805..47ac698d0f9 100644
--- a/TAO/tests/POA/On_Demand_Act_Direct_Coll/Collocated_Test.cpp
+++ b/TAO/tests/POA/On_Demand_Act_Direct_Coll/Collocated_Test.cpp
@@ -8,7 +8,7 @@
const ACE_TCHAR *output = ACE_TEXT("test.ior");
const ACE_TCHAR *input = ACE_TEXT("file://test.ior");
-CORBA::Boolean exception = false;
+CORBA::Boolean exception_occured = false;
int
parse_args (int argc, ACE_TCHAR *argv[])
@@ -27,11 +27,11 @@ parse_args (int argc, ACE_TCHAR *argv[])
break;
case 't':
// no exception expected
- exception = false;
+ exception_occured = false;
break;
case 'd':
// exception expected
- exception = true;
+ exception_occured = true;
break;
case '?':
default:
@@ -80,7 +80,7 @@ ACE_TMAIN(int argc, ACE_TCHAR *argv[])
Client_Task client_task (input,
corb.in (),
ACE_Thread_Manager::instance (),
- exception);
+ exception_occured);
if (client_task.activate (THR_NEW_LWP | THR_JOINABLE,
1,