summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp')
-rw-r--r--TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp9
1 files changed, 6 insertions, 3 deletions
diff --git a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
index 8d41fd8fe15..2a8b628db00 100644
--- a/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
+++ b/TAO/orbsvcs/tests/Notify/performance-tests/RedGreen/main.cpp
@@ -2,19 +2,22 @@
// $Id$
#include "RedGreen_Test.h"
+#include "ace/Argv_Type_Converter.h"
int
-main (int argc, char *argv [])
+ACE_TMAIN (int argc, ACE_TCHAR *argv[])
{
+ ACE_Argv_Type_Converter convert (argc, argv);
+
ACE_High_Res_Timer::calibrate ();
RedGreen_Test client;
- client.parse_args (argc, argv);
+ client.parse_args (convert.get_argc(), convert.get_ASCII_argv());
ACE_TRY_NEW_ENV
{
- client.init (argc, argv
+ client.init (convert.get_argc(), convert.get_ASCII_argv()
ACE_ENV_ARG_PARAMETER); //Init the Client
ACE_TRY_CHECK;