summaryrefslogtreecommitdiff
path: root/ACE/ace/RW_Mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/RW_Mutex.h')
-rw-r--r--ACE/ace/RW_Mutex.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ACE/ace/RW_Mutex.h b/ACE/ace/RW_Mutex.h
index f01f4dc035f..7dd515a84d3 100644
--- a/ACE/ace/RW_Mutex.h
+++ b/ACE/ace/RW_Mutex.h
@@ -4,8 +4,6 @@
/**
* @file RW_Mutex.h
*
- * Moved from Synch.h.
- *
* @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
*/
//==========================================================================
@@ -121,9 +119,8 @@ protected:
bool removed_;
private:
- // = Prevent assignment and initialization.
- void operator= (const ACE_RW_Mutex &);
- ACE_RW_Mutex (const ACE_RW_Mutex &);
+ void operator= (const ACE_RW_Mutex &) = delete;
+ ACE_RW_Mutex (const ACE_RW_Mutex &) = delete;
};
ACE_END_VERSIONED_NAMESPACE_DECL