diff options
Diffstat (limited to 'TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl')
-rw-r--r-- | TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl | 14 |
1 files changed, 7 insertions, 7 deletions
diff --git a/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl b/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl index 4b85ab2aaae..adfe4237b0e 100644 --- a/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl +++ b/TAO/orbsvcs/orbsvcs/Event/EC_Lifetime_Utils_T.inl @@ -3,7 +3,7 @@ TAO_BEGIN_VERSIONED_NAMESPACE_DECL template <class T> ACE_INLINE -TAO_EC_Auto_Command<T>::TAO_EC_Auto_Command (void) +TAO_EC_Auto_Command<T>::TAO_EC_Auto_Command () : command_ () , allow_command_ (false) { @@ -19,7 +19,7 @@ TAO_EC_Auto_Command<T>::TAO_EC_Auto_Command (const T & command) template <class T> ACE_INLINE -TAO_EC_Auto_Command<T>::~TAO_EC_Auto_Command (void) +TAO_EC_Auto_Command<T>::~TAO_EC_Auto_Command () { this->execute (); } @@ -46,7 +46,7 @@ TAO_EC_Auto_Command<T>::set_command (TAO_EC_Auto_Command<T> & auto_command) template <class T> ACE_INLINE void -TAO_EC_Auto_Command<T>::execute (void) +TAO_EC_Auto_Command<T>::execute () { if (this->allow_command_) { @@ -65,14 +65,14 @@ TAO_EC_Auto_Command<T>::execute (void) template <class T> ACE_INLINE void -TAO_EC_Auto_Command<T>::allow_command (void) +TAO_EC_Auto_Command<T>::allow_command () { this->allow_command_ = true; } template <class T> ACE_INLINE void -TAO_EC_Auto_Command<T>::disallow_command (void) +TAO_EC_Auto_Command<T>::disallow_command () { this->allow_command_ = false; } @@ -82,7 +82,7 @@ TAO_EC_Auto_Command<T>::disallow_command (void) template <class T> ACE_INLINE -TAO_EC_Shutdown_Command<T>::TAO_EC_Shutdown_Command (void) +TAO_EC_Shutdown_Command<T>::TAO_EC_Shutdown_Command () : target_ () { } @@ -96,7 +96,7 @@ TAO_EC_Shutdown_Command<T>::TAO_EC_Shutdown_Command (T target) template <class T> ACE_INLINE void -TAO_EC_Shutdown_Command<T>::execute (void) +TAO_EC_Shutdown_Command<T>::execute () { if (this->target_.in ()) { |