diff options
Diffstat (limited to 'ace/Select_Reactor.h')
-rw-r--r-- | ace/Select_Reactor.h | 17 |
1 files changed, 6 insertions, 11 deletions
diff --git a/ace/Select_Reactor.h b/ace/Select_Reactor.h index 8e7b1697ce3..a52203869cb 100644 --- a/ace/Select_Reactor.h +++ b/ace/Select_Reactor.h @@ -1,4 +1,4 @@ -// -*- C++ -*- +/* -*- C++ -*- */ //============================================================================= /** @@ -21,8 +21,6 @@ # pragma once #endif /* ACE_LACKS_PRAGMA_ONCE */ -ACE_BEGIN_VERSIONED_NAMESPACE_DECL - //@@ TAO_REACTOR_SPL_COMMENT_HOOK_START typedef ACE_Reactor_Token_T<ACE_SELECT_TOKEN> ACE_Select_Reactor_Token; @@ -33,8 +31,8 @@ typedef ACE_Select_Reactor_T<ACE_Select_Reactor_Token> ACE_Select_Reactor; /** * @class ACE_Guard< ACE_Reactor_Token_T<ACE_Noop_Token> > * - * @brief Template specialization of ACE_Guard for the - * ACE_Null_Mutex. + * @brief Template specialization of <ACE_Guard> for the + * <ACE_Null_Mutex>. * * This specialization is useful since it helps to speedup * performance of the "Null_Mutex" considerably. @@ -56,14 +54,11 @@ public: void dump (void) const {} private: - // Disallow copying and assignment. - ACE_Guard (const ACE_Guard< ACE_Reactor_Token_T<ACE_Noop_Token> > &); - void operator= (const ACE_Guard< ACE_Reactor_Token_T<ACE_Noop_Token> > &); - + // = Prevent assignment and initialization. + ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Guard< ACE_Reactor_Token_T<ACE_Noop_Token> > &)) + ACE_UNIMPLEMENTED_FUNC (ACE_Guard (const ACE_Guard< ACE_Reactor_Token_T<ACE_Noop_Token> > &)) }; #endif /* ACE_MT_SAFE && ACE_MT_SAFE == 0 */ -ACE_END_VERSIONED_NAMESPACE_DECL - #include /**/ "ace/post.h" #endif /* ACE_SELECT_REACTOR_H */ |