summaryrefslogtreecommitdiff
path: root/TAO/examples/Persistent_Grid/Simple_util.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'TAO/examples/Persistent_Grid/Simple_util.cpp')
-rw-r--r--TAO/examples/Persistent_Grid/Simple_util.cpp16
1 files changed, 8 insertions, 8 deletions
diff --git a/TAO/examples/Persistent_Grid/Simple_util.cpp b/TAO/examples/Persistent_Grid/Simple_util.cpp
index 3984299e49b..90bae9293f5 100644
--- a/TAO/examples/Persistent_Grid/Simple_util.cpp
+++ b/TAO/examples/Persistent_Grid/Simple_util.cpp
@@ -10,7 +10,7 @@
// Constructor.
template <class Servant>
-Server<Servant>::Server (void)
+Server<Servant>::Server ()
: ior_output_file_ (0),
mem_pool_name_ (0)
{
@@ -19,14 +19,14 @@ Server<Servant>::Server (void)
// 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:m:"));
int c = 0;
@@ -130,7 +130,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.
int ret = this->orb_manager_.run ();
@@ -150,7 +150,7 @@ Server<Servant>::run (void)
// Constructor.
template <class InterfaceObj, class Var>
-Client<InterfaceObj, Var>::Client (void)
+Client<InterfaceObj, Var>::Client ()
: ior_ (0)
{
//no-op
@@ -189,7 +189,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:k:x"));
int c = 0;
@@ -222,7 +222,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_);
}
@@ -273,7 +273,7 @@ Client<InterfaceObj, Var>::init (const char * /*name*/,
template <class InterfaceObj, class Var> int
-Client<InterfaceObj, Var>::shutdown (void)
+Client<InterfaceObj, Var>::shutdown ()
{
// Returns the shutdwon flag
return shutdown_;