diff options
author | Johnny Willemsen <jwillemsen@remedy.nl> | 2021-03-09 18:44:09 +0100 |
---|---|---|
committer | GitHub <noreply@github.com> | 2021-03-09 18:44:09 +0100 |
commit | b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f (patch) | |
tree | f78fc5b7b2ea337ffc306a77223018fcc780e507 /ACE/ace/Thread_Mutex.h | |
parent | 199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff) | |
parent | adc1dcda981a4c76612bedeba2dddb76aa272d6f (diff) | |
download | ATCD-b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f.tar.gz |
Merge pull request #1446 from jwillemsen/jwi-cpp11cleanup
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Thread_Mutex.h')
-rw-r--r-- | ACE/ace/Thread_Mutex.h | 7 |
1 files changed, 2 insertions, 5 deletions
diff --git a/ACE/ace/Thread_Mutex.h b/ACE/ace/Thread_Mutex.h index 72e1e5e6e37..3793c5654ed 100644 --- a/ACE/ace/Thread_Mutex.h +++ b/ACE/ace/Thread_Mutex.h @@ -4,8 +4,6 @@ /** * @file Thread_Mutex.h * - * Moved from Synch.h. - * * @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu> */ //========================================================================== @@ -156,9 +154,8 @@ protected: bool removed_; private: - // = Prevent assignment and initialization. - void operator= (const ACE_Thread_Mutex &); - ACE_Thread_Mutex (const ACE_Thread_Mutex &); + void operator= (const ACE_Thread_Mutex &) = delete; + ACE_Thread_Mutex (const ACE_Thread_Mutex &) = delete; }; ACE_END_VERSIONED_NAMESPACE_DECL |