summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/Latency/AMI/server.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/Latency/AMI/server.cpp')
-rw-r--r--TAO/performance-tests/Latency/AMI/server.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/performance-tests/Latency/AMI/server.cpp b/TAO/performance-tests/Latency/AMI/server.cpp
index 9aefa38f531..e32ae697223 100644
--- a/TAO/performance-tests/Latency/AMI/server.cpp
+++ b/TAO/performance-tests/Latency/AMI/server.cpp
@@ -16,7 +16,7 @@ int nthreads = 4;
int
parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "o:n:");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "o:n:");
int c;
while ((c = get_opts ()) != -1)
@@ -45,7 +45,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)