summaryrefslogtreecommitdiff
path: root/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp')
-rw-r--r--TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp b/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp
index c3a276474ba..776bdcec6cf 100644
--- a/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp
+++ b/TAO/performance-tests/POA/Object_Creation_And_Registration/registration.cpp
@@ -80,7 +80,7 @@ static u_long iterations = 1000;
static int
parse_args (int argc, char **argv)
{
- ACE_Get_Opt get_opts (argc, argv, "i:r");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "i:r");
int c;
while ((c = get_opts ()) != -1)
@@ -340,7 +340,7 @@ child_poa_testing (PortableServer::POA_ptr root_poa
}
int
-main (int argc, char **argv)
+ACE_TMAIN (int argc, ACE_TCHAR **argv)
{
ACE_DECLARE_NEW_CORBA_ENV;