summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency/AMI/client.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Latency/AMI/client.cpp')
-rw-r--r--TAO/performance-tests/Latency/AMI/client.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/performance-tests/Latency/AMI/client.cpp b/TAO/performance-tests/Latency/AMI/client.cpp
index ac678fc1a15..5ce43c9feb8 100644
--- a/TAO/performance-tests/Latency/AMI/client.cpp
+++ b/TAO/performance-tests/Latency/AMI/client.cpp
@@ -19,7 +19,7 @@ int niterations = 1000;
int
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "k:i:");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "k:i:");
int c;
while ((c = get_opts ()) != -1)
@@ -50,7 +50,7 @@ parse_args (int argc, char *argv[])
}
int
-main (int argc, char *argv[])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
int priority =
(ACE_Sched_Params::priority_min (ACE_SCHED_FIFO)