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/tao/ImR_Client | |
parent | fe03724176dcfd20e0f9a6e493198469242be6b6 (diff) | |
download | ATCD-3da59eac098c1ef9d2c98f2079185ff35c3b6105.tar.gz |
Remove obsolescent (void) in functions with no parameters
Diffstat (limited to 'TAO/tao/ImR_Client')
-rw-r--r-- | TAO/tao/ImR_Client/ImR_Client.cpp | 4 | ||||
-rw-r--r-- | TAO/tao/ImR_Client/ImR_Client.h | 4 | ||||
-rw-r--r-- | TAO/tao/ImR_Client/ServerObject_i.cpp | 6 | ||||
-rw-r--r-- | TAO/tao/ImR_Client/ServerObject_i.h | 6 |
4 files changed, 10 insertions, 10 deletions
diff --git a/TAO/tao/ImR_Client/ImR_Client.cpp b/TAO/tao/ImR_Client/ImR_Client.cpp index a2c429cb4a3..4e6b3ad6891 100644 --- a/TAO/tao/ImR_Client/ImR_Client.cpp +++ b/TAO/tao/ImR_Client/ImR_Client.cpp @@ -208,7 +208,7 @@ namespace TAO { namespace ImR_Client { - ImR_Client_Adapter_Impl::ImR_Client_Adapter_Impl (void) + ImR_Client_Adapter_Impl::ImR_Client_Adapter_Impl () : server_object_ (0) { } @@ -451,7 +451,7 @@ namespace TAO // Initialization and registration of dynamic service object. int - ImR_Client_Adapter_Impl::Initializer (void) + ImR_Client_Adapter_Impl::Initializer () { TAO_Root_POA::imr_client_adapter_name ( "Concrete_ImR_Client_Adapter"); diff --git a/TAO/tao/ImR_Client/ImR_Client.h b/TAO/tao/ImR_Client/ImR_Client.h index 94acb032f72..0139e8372f5 100644 --- a/TAO/tao/ImR_Client/ImR_Client.h +++ b/TAO/tao/ImR_Client/ImR_Client.h @@ -46,10 +46,10 @@ namespace TAO { public: /// Constructor. - ImR_Client_Adapter_Impl (void); + ImR_Client_Adapter_Impl (); /// Used to force the initialization of the PortableServer code. - static int Initializer (void); + static int Initializer (); /// ImplRepo helper method, notify the ImplRepo on startup virtual void imr_notify_startup (TAO_Root_POA* poa); diff --git a/TAO/tao/ImR_Client/ServerObject_i.cpp b/TAO/tao/ImR_Client/ServerObject_i.cpp index ac871f10bdb..050cf12341c 100644 --- a/TAO/tao/ImR_Client/ServerObject_i.cpp +++ b/TAO/tao/ImR_Client/ServerObject_i.cpp @@ -12,12 +12,12 @@ ServerObject_i::ServerObject_i (CORBA::ORB_ptr orb, } void -ServerObject_i::ping (void) +ServerObject_i::ping () { } void -ServerObject_i::shutdown (void) +ServerObject_i::shutdown () { // Note : We want our child POAs to be able to unregister themselves from // the ImR, so we must destroy them before shutting down the orb. @@ -26,7 +26,7 @@ ServerObject_i::shutdown (void) } PortableServer::POA_ptr -ServerObject_i::_default_POA (void) +ServerObject_i::_default_POA () { return PortableServer::POA::_duplicate (this->poa_.in ()); } diff --git a/TAO/tao/ImR_Client/ServerObject_i.h b/TAO/tao/ImR_Client/ServerObject_i.h index d3df7a0bd3e..a75b2092807 100644 --- a/TAO/tao/ImR_Client/ServerObject_i.h +++ b/TAO/tao/ImR_Client/ServerObject_i.h @@ -42,13 +42,13 @@ public: ServerObject_i (CORBA::ORB_ptr orb, PortableServer::POA_ptr poa); /// Ping method. - void ping (void); + void ping (); /// Shutdown the server. - void shutdown (void); + void shutdown (); /// Returns the default POA for this servant. - PortableServer::POA_ptr _default_POA (void); + PortableServer::POA_ptr _default_POA (); protected: /// Our ORB. We need this member in case we need to shutdown the |