summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/RT_lib
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2008-10-10 13:49:52 +0000
committerJohnny Willemsen <jwillemsen@remedy.nl>2008-10-10 13:49:52 +0000
commita50a64ec227a606df3d7234636dd0168415b6dd5 (patch)
treed9ec39dc4356d45bdce420c00c2e690d7eafebc9 /TAO/orbsvcs/tests/Notify/RT_lib
parent36934c3a129687fe30efbf7b7f3f22ec55688b53 (diff)
downloadATCD-a50a64ec227a606df3d7234636dd0168415b6dd5.tar.gz
Fri Oct 11 13:49:45 UTC 2008 Johnny Willemsen <jwillemsen@remedy.nl>
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/RT_lib')
-rw-r--r--TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
index fc904d95551..c16a547b513 100644
--- a/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
+++ b/TAO/orbsvcs/tests/Notify/RT_lib/RT_POA_Command.cpp
@@ -39,13 +39,13 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
if (arg_shifter.is_anything_left ())
{
- if (arg_shifter.cur_arg_strncasecmp ("-Create") == 0)
+ if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-Create")) == 0)
{
this->command_ = CREATE;
arg_shifter.consume_arg ();
- this->POA_name_ = arg_shifter.get_current ();
+ this->POA_name_ = ACE_TEXT_ALWAYS_CHAR(arg_shifter.get_current ());
arg_shifter.consume_arg ();
@@ -53,7 +53,7 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
{
if (0 != (current_arg = arg_shifter.get_the_parameter (ACE_TEXT("-PriorityModel"))))
{
- if (arg_shifter.cur_arg_strncasecmp ("CLIENT") == 0)
+ if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("CLIENT")) == 0)
priority_model_ = RTCORBA::CLIENT_PROPAGATED;
else
priority_model_ = RTCORBA::SERVER_DECLARED;
@@ -75,7 +75,7 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
//parse lane values ...
while (arg_shifter.is_anything_left ())
{
- if (arg_shifter.cur_arg_strncasecmp ("-Lane") == 0)
+ if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-Lane")) == 0)
{
arg_shifter.consume_arg ();
@@ -113,7 +113,7 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
//parse band values ...
while (arg_shifter.is_anything_left ())
{
- if (arg_shifter.cur_arg_strncasecmp ("-Band") == 0)
+ if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-Band")) == 0)
{
arg_shifter.consume_arg ();
@@ -138,7 +138,7 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
} /* if -Bands */
// -ThreadPool thread_pool_count thread_pool_default_priority
- if (arg_shifter.cur_arg_strncasecmp ("-ThreadPool") == 0)
+ if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-ThreadPool")) == 0)
{
arg_shifter.consume_arg ();
@@ -163,13 +163,13 @@ TAO_Notify_Tests_RT_POA_Command::init (ACE_Arg_Shifter& arg_shifter)
break;
} /* while */
}
- else if (arg_shifter.cur_arg_strncasecmp ("-Destroy") == 0)
+ else if (arg_shifter.cur_arg_strncasecmp (ACE_TEXT("-Destroy")) == 0)
{
this->command_ = DESTROY;
arg_shifter.consume_arg ();
- this->POA_name_ = arg_shifter.get_current ();
+ this->POA_name_ = ACE_TEXT_ALWAYS_CHAR(arg_shifter.get_current ());
arg_shifter.consume_arg ();
}