summaryrefslogtreecommitdiff
path: root/TAO/examples/OBV/Simple_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/OBV/Simple_util.cpp')
-rw-r--r--TAO/examples/OBV/Simple_util.cpp18
1 files changed, 9 insertions, 9 deletions
diff --git a/TAO/examples/OBV/Simple_util.cpp b/TAO/examples/OBV/Simple_util.cpp
index 45b412010c2..f760acfdf4c 100644
--- a/TAO/examples/OBV/Simple_util.cpp
+++ b/TAO/examples/OBV/Simple_util.cpp
@@ -13,21 +13,21 @@
// Constructor.
template <class Servant>
-Server<Servant>::Server (void)
+Server<Servant>::Server ()
: ior_output_file_ (0)
{
}
// Destructor.
template <class Servant>
-Server<Servant>::~Server (void)
+Server<Servant>::~Server ()
{
}
// Parse the command-line arguments and set options.
template <class Servant> int
-Server<Servant>::parse_args (void)
+Server<Servant>::parse_args ()
{
ACE_Get_Opt get_opts (this->argc_, this->argv_, ACE_TEXT("do:ni:"));
int c = 0;
@@ -124,7 +124,7 @@ Server<Servant>::init (const char *servant_name,
}
template <class Servant>int
-Server<Servant>::run (void)
+Server<Servant>::run ()
{
// Run the main event loop for the ORB.
if (this->orb_manager_.run () == -1)
@@ -136,7 +136,7 @@ Server<Servant>::run (void)
}
template <class Servant> int
-Server<Servant>::register_name (void)
+Server<Servant>::register_name ()
{
return -1;
}
@@ -144,7 +144,7 @@ Server<Servant>::register_name (void)
// Constructor.
template <class InterfaceObj, class Var>
-Client<InterfaceObj, Var>::Client (void)
+Client<InterfaceObj, Var>::Client ()
: ior_ (0)
{
//no-op
@@ -183,7 +183,7 @@ Client<InterfaceObj, Var>::read_ior (ACE_TCHAR *filename)
// Parses the command line arguments and returns an error status.
template <class InterfaceObj, class Var> int
-Client<InterfaceObj, Var>::parse_args (void)
+Client<InterfaceObj, Var>::parse_args ()
{
ACE_Get_Opt get_opts (argc_, argv_, ACE_TEXT("df:nk:x"));
int c = 0;
@@ -216,7 +216,7 @@ Client<InterfaceObj, Var>::parse_args (void)
}
template <class InterfaceObj, class Var>
-Client<InterfaceObj, Var>::~Client (void)
+Client<InterfaceObj, Var>::~Client ()
{
ACE_OS::free (this->ior_);
}
@@ -271,7 +271,7 @@ Client<InterfaceObj, Var>::init (const char *name,
template <class InterfaceObj, class Var> int
-Client<InterfaceObj, Var>::obtain_initial_references (void)
+Client<InterfaceObj, Var>::obtain_initial_references ()
{
return 0;
}