summaryrefslogtreecommitdiff
path: root/ACE/ace/Mutex.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
committerJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 11:49:28 +0100
commit3a135b20e2c3c3dd407b9b768a411645eca6a7e0 (patch)
tree71301b1d02a56c2137c4e4c1b378aea4acd139a7 /ACE/ace/Mutex.h
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
downloadATCD-3a135b20e2c3c3dd407b9b768a411645eca6a7e0.tar.gz
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Mutex.h')
-rw-r--r--ACE/ace/Mutex.h5
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