diff options
author | Knut Petter Svendsen <knut@altuma.no> | 2022-09-13 22:57:39 +0200 |
---|---|---|
committer | Knut Petter Svendsen <knut@altuma.no> | 2022-09-13 22:57:39 +0200 |
commit | 3da59eac098c1ef9d2c98f2079185ff35c3b6105 (patch) | |
tree | 379c29e09bf55597fe6740cd163478cd1204a181 /TAO/interop-tests/CdrOutArg/tao | |
parent | fe03724176dcfd20e0f9a6e493198469242be6b6 (diff) | |
download | ATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz |
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'TAO/interop-tests/CdrOutArg/tao')
10 files changed, 18 insertions, 18 deletions
diff --git a/TAO/interop-tests/CdrOutArg/tao/Client_ORBInitializer.cpp b/TAO/interop-tests/CdrOutArg/tao/Client_ORBInitializer.cpp index d65ed78aa37..cc83c5b7e3b 100644 --- a/TAO/interop-tests/CdrOutArg/tao/Client_ORBInitializer.cpp +++ b/TAO/interop-tests/CdrOutArg/tao/Client_ORBInitializer.cpp @@ -3,7 +3,7 @@ #include "Client_ORBInitializer.h" #include "client_interceptor.h" -Client_ORBInitializer::Client_ORBInitializer (void) +Client_ORBInitializer::Client_ORBInitializer () { } diff --git a/TAO/interop-tests/CdrOutArg/tao/Client_ORBInitializer.h b/TAO/interop-tests/CdrOutArg/tao/Client_ORBInitializer.h index e8e845f1793..a9108fadae8 100644 --- a/TAO/interop-tests/CdrOutArg/tao/Client_ORBInitializer.h +++ b/TAO/interop-tests/CdrOutArg/tao/Client_ORBInitializer.h @@ -26,7 +26,7 @@ class Client_ORBInitializer : { public: /// Constructor - Client_ORBInitializer (void); + Client_ORBInitializer (); virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info); diff --git a/TAO/interop-tests/CdrOutArg/tao/Server_ORBInitializer.cpp b/TAO/interop-tests/CdrOutArg/tao/Server_ORBInitializer.cpp index dd22dcc19d3..2d12efbd1f0 100644 --- a/TAO/interop-tests/CdrOutArg/tao/Server_ORBInitializer.cpp +++ b/TAO/interop-tests/CdrOutArg/tao/Server_ORBInitializer.cpp @@ -3,7 +3,7 @@ #include "Server_ORBInitializer.h" #include "server_interceptor.h" -Server_ORBInitializer::Server_ORBInitializer (void) +Server_ORBInitializer::Server_ORBInitializer () { } diff --git a/TAO/interop-tests/CdrOutArg/tao/Server_ORBInitializer.h b/TAO/interop-tests/CdrOutArg/tao/Server_ORBInitializer.h index 9554057647d..e3d1af0b6df 100644 --- a/TAO/interop-tests/CdrOutArg/tao/Server_ORBInitializer.h +++ b/TAO/interop-tests/CdrOutArg/tao/Server_ORBInitializer.h @@ -26,7 +26,7 @@ class Server_ORBInitializer : { public: /// Constructor - Server_ORBInitializer (void); + Server_ORBInitializer (); virtual void pre_init (PortableInterceptor::ORBInitInfo_ptr info); diff --git a/TAO/interop-tests/CdrOutArg/tao/client_interceptor.cpp b/TAO/interop-tests/CdrOutArg/tao/client_interceptor.cpp index 6b5c5afe283..d23af7e6cba 100644 --- a/TAO/interop-tests/CdrOutArg/tao/client_interceptor.cpp +++ b/TAO/interop-tests/CdrOutArg/tao/client_interceptor.cpp @@ -14,18 +14,18 @@ Echo_Client_Request_Interceptor (const char *id) { } -Echo_Client_Request_Interceptor::~Echo_Client_Request_Interceptor (void) +Echo_Client_Request_Interceptor::~Echo_Client_Request_Interceptor () { } char * -Echo_Client_Request_Interceptor::name (void) +Echo_Client_Request_Interceptor::name () { return CORBA::string_dup (this->myname_); } void -Echo_Client_Request_Interceptor::destroy (void) +Echo_Client_Request_Interceptor::destroy () { } diff --git a/TAO/interop-tests/CdrOutArg/tao/client_interceptor.h b/TAO/interop-tests/CdrOutArg/tao/client_interceptor.h index e7b490fa096..d3fb25ea8be 100644 --- a/TAO/interop-tests/CdrOutArg/tao/client_interceptor.h +++ b/TAO/interop-tests/CdrOutArg/tao/client_interceptor.h @@ -28,10 +28,10 @@ public: virtual ~Echo_Client_Request_Interceptor (); // dtor. - virtual char * name (void); + virtual char * name (); // Canonical name of the interceptor. - virtual void destroy (void); + virtual void destroy (); virtual void send_poll (PortableInterceptor::ClientRequestInfo_ptr); diff --git a/TAO/interop-tests/CdrOutArg/tao/server_interceptor.cpp b/TAO/interop-tests/CdrOutArg/tao/server_interceptor.cpp index 6e620abfe29..ac639a0e1c9 100644 --- a/TAO/interop-tests/CdrOutArg/tao/server_interceptor.cpp +++ b/TAO/interop-tests/CdrOutArg/tao/server_interceptor.cpp @@ -8,23 +8,23 @@ const IOP::ServiceId service_id = 0xdeadbeef; const char *request_msg = "12345678"; -Echo_Server_Request_Interceptor::Echo_Server_Request_Interceptor (void) +Echo_Server_Request_Interceptor::Echo_Server_Request_Interceptor () : myname_ ("Echo_Server_Interceptor") { } -Echo_Server_Request_Interceptor::~Echo_Server_Request_Interceptor (void) +Echo_Server_Request_Interceptor::~Echo_Server_Request_Interceptor () { } char * -Echo_Server_Request_Interceptor::name (void) +Echo_Server_Request_Interceptor::name () { return CORBA::string_dup (this->myname_); } void -Echo_Server_Request_Interceptor::destroy (void) +Echo_Server_Request_Interceptor::destroy () { } diff --git a/TAO/interop-tests/CdrOutArg/tao/server_interceptor.h b/TAO/interop-tests/CdrOutArg/tao/server_interceptor.h index 2755fd363b3..1659c5f6071 100644 --- a/TAO/interop-tests/CdrOutArg/tao/server_interceptor.h +++ b/TAO/interop-tests/CdrOutArg/tao/server_interceptor.h @@ -22,16 +22,16 @@ class Echo_Server_Request_Interceptor { // = Server-side echo interceptor. For checking interceptor visually only. public: - Echo_Server_Request_Interceptor (void); + Echo_Server_Request_Interceptor (); // cotr. ~Echo_Server_Request_Interceptor (); // dotr. - virtual char * name (void); + virtual char * name (); // Canonical name of the interceptor. - virtual void destroy (void); + virtual void destroy (); virtual void receive_request (PortableInterceptor::ServerRequestInfo_ptr ri); diff --git a/TAO/interop-tests/CdrOutArg/tao/test_i.cpp b/TAO/interop-tests/CdrOutArg/tao/test_i.cpp index 28251a8109b..ab75e516797 100644 --- a/TAO/interop-tests/CdrOutArg/tao/test_i.cpp +++ b/TAO/interop-tests/CdrOutArg/tao/test_i.cpp @@ -12,7 +12,7 @@ CDR_Out_Arg_i::get_out (CORBA::Long_out arg) } void -CDR_Out_Arg_i::shutdown (void) +CDR_Out_Arg_i::shutdown () { this->orb_->shutdown (false); } diff --git a/TAO/interop-tests/CdrOutArg/tao/test_i.h b/TAO/interop-tests/CdrOutArg/tao/test_i.h index 6a2721a9f6e..90dfd48bda9 100644 --- a/TAO/interop-tests/CdrOutArg/tao/test_i.h +++ b/TAO/interop-tests/CdrOutArg/tao/test_i.h @@ -26,7 +26,7 @@ public: void get_out (CORBA::Long_out arg); - void shutdown (void); + void shutdown (); private: /// The ORB pseudo-reference (for shutdown). |