summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp')
-rw-r--r--TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp b/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp
index 845ee110d77..50a842d3f74 100644
--- a/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp
+++ b/TAO/orbsvcs/examples/CosEC/Factory/FactoryDriver.cpp
@@ -19,9 +19,9 @@ FactoryDriver::~FactoryDriver (void)
}
int
-FactoryDriver::parse_args (int argc, char *argv [])
+FactoryDriver::parse_args (int argc, char *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "dr:");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "dr:");
int c = 0;
while ((c = get_opts ()) != -1)
@@ -50,7 +50,7 @@ FactoryDriver::parse_args (int argc, char *argv [])
}
int
-FactoryDriver::start (int argc, char *argv [])
+FactoryDriver::start (int argc, char *argv[])
{
ACE_DECLARE_NEW_CORBA_ENV;
ACE_TRY