summaryrefslogtreecommitdiff
path: root/ACE/ace/Condition_Thread_Mutex.h
diff options
context:
space:
mode:
Diffstat (limited to 'ACE/ace/Condition_Thread_Mutex.h')
-rw-r--r--ACE/ace/Condition_Thread_Mutex.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ACE/ace/Condition_Thread_Mutex.h b/ACE/ace/Condition_Thread_Mutex.h
index 855adcba377..73346f0c97e 100644
--- a/ACE/ace/Condition_Thread_Mutex.h
+++ b/ACE/ace/Condition_Thread_Mutex.h
@@ -4,8 +4,6 @@
/**
* @file Condition_Thread_Mutex.h
*
- * Moved from Synch.h.
- *
* @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
*/
//==========================================================================
@@ -125,9 +123,8 @@ protected:
bool removed_;
private:
- // = Prevent assignment and initialization.
- void operator= (const ACE_Condition<ACE_Thread_Mutex> &);
- ACE_Condition (const ACE_Condition<ACE_Thread_Mutex> &);
+ void operator= (const ACE_Condition<ACE_Thread_Mutex> &) = delete;
+ ACE_Condition (const ACE_Condition<ACE_Thread_Mutex> &) = delete;
};
typedef ACE_Condition<ACE_Thread_Mutex> ACE_Condition_Thread_Mutex;