summaryrefslogtreecommitdiff
path: root/TAO/examples/RTCORBA/Activity/Job_i.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/RTCORBA/Activity/Job_i.cpp')
-rw-r--r--TAO/examples/RTCORBA/Activity/Job_i.cpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/TAO/examples/RTCORBA/Activity/Job_i.cpp b/TAO/examples/RTCORBA/Activity/Job_i.cpp
index 69320dc5323..98f0fee4a44 100644
--- a/TAO/examples/RTCORBA/Activity/Job_i.cpp
+++ b/TAO/examples/RTCORBA/Activity/Job_i.cpp
@@ -23,8 +23,11 @@ Job_i::poa (void)
}
int
-Job_i::init (ACE_Arg_Shifter& arg_shifter)
+Job_i::init (ACE_TArg_Shifter<char>& arg_shifter)
{
+ int tmpInt = 1;
+ char ** tmp;
+ ACE_TArg_Shifter<char> arg_shifter_(tmpInt, tmp);
job_name_ = arg_shifter.get_current (); // Read the name of the Job
arg_shifter.consume_arg ();