diff options
Diffstat (limited to 'ace/Null_Mutex.h')
-rw-r--r-- | ace/Null_Mutex.h | 17 |
1 files changed, 12 insertions, 5 deletions
diff --git a/ace/Null_Mutex.h b/ace/Null_Mutex.h index a0c9bf8d374..022cc034df6 100644 --- a/ace/Null_Mutex.h +++ b/ace/Null_Mutex.h @@ -27,6 +27,9 @@ #include "ace/Global_Macros.h" #include "ace/OS_Memory.h" + +ACE_BEGIN_VERSIONED_NAMESPACE_DECL + class ACE_Time_Value; /** @@ -119,8 +122,8 @@ class ACE_Guard; /** * @class ACE_Guard<ACE_Null_Mutex> * - * @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. @@ -146,9 +149,11 @@ public: void dump (void) const {} private: - // = Prevent assignment and initialization. - ACE_UNIMPLEMENTED_FUNC (void operator= (const ACE_Guard<ACE_Null_Mutex> &)) - ACE_UNIMPLEMENTED_FUNC (ACE_Guard (const ACE_Guard<ACE_Null_Mutex> &)) + + // Disallow copying and assignment. + ACE_Guard (const ACE_Guard<ACE_Null_Mutex> &); + void operator= (const ACE_Guard<ACE_Null_Mutex> &); + }; template <class ACE_LOCK> @@ -215,5 +220,7 @@ public: } }; +ACE_END_VERSIONED_NAMESPACE_DECL + #include /**/ "ace/post.h" #endif /* ACE_NULL_MUTEX_H */ |