diff options
Diffstat (limited to 'ACE/ace/Mutex.h')
-rw-r--r-- | ACE/ace/Mutex.h | 5 |
1 files changed, 2 insertions, 3 deletions
diff --git a/ACE/ace/Mutex.h b/ACE/ace/Mutex.h index 2f371a772a5..ba784f63b7f 100644 --- a/ACE/ace/Mutex.h +++ b/ACE/ace/Mutex.h @@ -190,9 +190,8 @@ public: bool removed_; private: - // Prevent assignment and initialization. - ACE_Mutex &operator= (const ACE_Mutex &); - ACE_Mutex (const ACE_Mutex &); + ACE_Mutex &operator= (const ACE_Mutex &) = delete; + ACE_Mutex (const ACE_Mutex &) = delete; }; ACE_END_VERSIONED_NAMESPACE_DECL |