diff options
Diffstat (limited to 'TAO/tao/PortableServer/LifespanStrategyPersistent.cpp')
-rw-r--r-- | TAO/tao/PortableServer/LifespanStrategyPersistent.cpp | 19 |
1 files changed, 8 insertions, 11 deletions
diff --git a/TAO/tao/PortableServer/LifespanStrategyPersistent.cpp b/TAO/tao/PortableServer/LifespanStrategyPersistent.cpp index c20461a0a74..62f681a6f18 100644 --- a/TAO/tao/PortableServer/LifespanStrategyPersistent.cpp +++ b/TAO/tao/PortableServer/LifespanStrategyPersistent.cpp @@ -31,13 +31,13 @@ namespace TAO } char - LifespanStrategyPersistent::key_type (void) const + LifespanStrategyPersistent::key_type () const { return 'P'; } CORBA::Boolean - LifespanStrategyPersistent::is_persistent (void) const + LifespanStrategyPersistent::is_persistent () const { return true; } @@ -59,15 +59,14 @@ namespace TAO } void - LifespanStrategyPersistent::notify_startup (void) + LifespanStrategyPersistent::notify_startup () { if (this->use_imr_) { // The user specified that the ImR should be used. ImR_Client_Adapter *adapter = ACE_Dynamic_Service<ImR_Client_Adapter>::instance ( - TAO_Root_POA::imr_client_adapter_name () - ); + TAO_Root_POA::imr_client_adapter_name ()); #if !defined (TAO_AS_STATIC_LIBS) // In case we build shared, try to load the ImR Client library, in a @@ -105,12 +104,11 @@ namespace TAO } void - LifespanStrategyPersistent::notify_shutdown (void) + LifespanStrategyPersistent::notify_shutdown () { ImR_Client_Adapter *adapter = ACE_Dynamic_Service<ImR_Client_Adapter>::instance ( - TAO_Root_POA::imr_client_adapter_name () - ); + TAO_Root_POA::imr_client_adapter_name ()); if (adapter != 0) { @@ -124,7 +122,7 @@ namespace TAO } void - LifespanStrategyPersistent::check_state (void) + LifespanStrategyPersistent::check_state () { this->poa_->tao_poa_manager().check_state (); } @@ -154,8 +152,7 @@ namespace TAO // The user specified that the ImR should be used. ImR_Client_Adapter *adapter = ACE_Dynamic_Service<ImR_Client_Adapter>::instance ( - TAO_Root_POA::imr_client_adapter_name () - ); + TAO_Root_POA::imr_client_adapter_name ()); if (adapter == 0) { // couldn't load adapter, already reported error |