summaryrefslogtreecommitdiff
path: root/TAO/tests/InterOp-Naming
diff options
context:
space:
mode:
authorKnut Petter Svendsen <knut@altuma.no>2022-09-13 22:57:39 +0200
committerKnut Petter Svendsen <knut@altuma.no>2022-09-13 22:57:39 +0200
commit3da59eac098c1ef9d2c98f2079185ff35c3b6105 (patch)
tree379c29e09bf55597fe6740cd163478cd1204a181 /TAO/tests/InterOp-Naming
parentfe03724176dcfd20e0f9a6e493198469242be6b6 (diff)
downloadATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'TAO/tests/InterOp-Naming')
-rw-r--r--TAO/tests/InterOp-Naming/INS_i.cpp6
-rw-r--r--TAO/tests/InterOp-Naming/INS_i.h6
-rw-r--r--TAO/tests/InterOp-Naming/Server_i.cpp8
-rw-r--r--TAO/tests/InterOp-Naming/Server_i.h8
4 files changed, 14 insertions, 14 deletions
diff --git a/TAO/tests/InterOp-Naming/INS_i.cpp b/TAO/tests/InterOp-Naming/INS_i.cpp
index 0f1f28137e0..cbe97d5ccca 100644
--- a/TAO/tests/InterOp-Naming/INS_i.cpp
+++ b/TAO/tests/InterOp-Naming/INS_i.cpp
@@ -2,12 +2,12 @@
// Constructor
-INS_i::INS_i (void)
+INS_i::INS_i ()
{
}
// Destructor
-INS_i::~INS_i (void)
+INS_i::~INS_i ()
{
}
@@ -19,7 +19,7 @@ INS_i::orb (CORBA::ORB_ptr o)
}
char *
-INS_i::test_ins (void)
+INS_i::test_ins ()
{
ACE_DEBUG ((LM_DEBUG,
"Inside Operation\n"));
diff --git a/TAO/tests/InterOp-Naming/INS_i.h b/TAO/tests/InterOp-Naming/INS_i.h
index 5065310f172..5c64e55ab56 100644
--- a/TAO/tests/InterOp-Naming/INS_i.h
+++ b/TAO/tests/InterOp-Naming/INS_i.h
@@ -20,13 +20,13 @@ class INS_i : public POA_INS
{
public:
/// Constructor.
- INS_i (void);
+ INS_i ();
/// Destructor.
- ~INS_i (void);
+ ~INS_i ();
/// test the INS.
- char * test_ins (void);
+ char * test_ins ();
/// Set the ORB pointer.
void orb (CORBA::ORB_ptr o);
diff --git a/TAO/tests/InterOp-Naming/Server_i.cpp b/TAO/tests/InterOp-Naming/Server_i.cpp
index a77c39dc331..d1dca7f3a99 100644
--- a/TAO/tests/InterOp-Naming/Server_i.cpp
+++ b/TAO/tests/InterOp-Naming/Server_i.cpp
@@ -4,20 +4,20 @@
#include "ace/OS_NS_stdio.h"
// Constructor.
-Server_i::Server_i (void)
+Server_i::Server_i ()
: ior_output_file_ (0),
ins_ (0)
{
}
// Destructor.
-Server_i::~Server_i (void)
+Server_i::~Server_i ()
{
}
// Parse the command-line arguments and set options.
int
-Server_i::parse_args (void)
+Server_i::parse_args ()
{
ACE_Get_Opt get_opts (this->argc_, this->argv_, ACE_TEXT("do:ni:"));
int c = 0;
@@ -153,7 +153,7 @@ Server_i::init (int argc,
}
int
-Server_i::run (void)
+Server_i::run ()
{
// Run the main event loop for the ORB.
int result = this->orb_manager_.run ();
diff --git a/TAO/tests/InterOp-Naming/Server_i.h b/TAO/tests/InterOp-Naming/Server_i.h
index 69ce69d0084..5a11fc728ac 100644
--- a/TAO/tests/InterOp-Naming/Server_i.h
+++ b/TAO/tests/InterOp-Naming/Server_i.h
@@ -22,10 +22,10 @@ class Server_i
{
public:
/// Constructor.
- Server_i (void);
+ Server_i ();
/// Destructor.
- ~Server_i (void);
+ ~Server_i ();
/// Initialize the Server state - parsing arguments and waiting.
int init (int argc,
@@ -35,14 +35,14 @@ public:
int add_IOR_to_table (CORBA::String_var ior);
/// Run the orb.
- int run (void);
+ int run ();
protected:
/// Servant class
INS_i servant_;
/// Parses the commandline arguments.
- int parse_args (void);
+ int parse_args ();
/// The ORB manager - a helper class for accessing the POA and
/// registering objects.