summaryrefslogtreecommitdiff
path: root/TAO/orbsvcs/orbsvcs/IFRService/Options.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/IFRService/Options.cpp')
-rw-r--r--TAO/orbsvcs/orbsvcs/IFRService/Options.cpp9
1 files changed, 3 insertions, 6 deletions
diff --git a/TAO/orbsvcs/orbsvcs/IFRService/Options.cpp b/TAO/orbsvcs/orbsvcs/IFRService/Options.cpp
index 26f71866bfd..466cc0cceb1 100644
--- a/TAO/orbsvcs/orbsvcs/IFRService/Options.cpp
+++ b/TAO/orbsvcs/orbsvcs/IFRService/Options.cpp
@@ -1,13 +1,12 @@
// $Id$
-#include "orbsvcs/IFRService/Options.h"
+#include "Options.h"
#include "ace/Get_Opt.h"
#include "ace/Log_Msg.h"
#include "ace/Null_Mutex.h"
#include "ace/OS_NS_string.h"
-TAO_BEGIN_VERSIONED_NAMESPACE_DECL
-
+// Default Constructor
Options::Options ()
: ior_output_file_ (ACE_OS::strdup ("if_repo.ior")),
persistent_ (0),
@@ -27,7 +26,7 @@ Options::~Options ()
int
Options::parse_args (int argc, ACE_TCHAR *argv[])
{
- ACE_Get_Opt get_opts (argc, argv, "o:pb:lm:r");
+ ACE_Get_Arg_Opt<char> get_opts (argc, argv, "o:pb:lm:r");
int c;
while ((c = get_opts ()) != -1)
@@ -118,5 +117,3 @@ Options::support_multicast_discovery (void) const
{
return this->support_multicast_;
}
-
-TAO_END_VERSIONED_NAMESPACE_DECL