summaryrefslogtreecommitdiff
path: root/ACE/ace/Null_Barrier.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/Null_Barrier.h
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
downloadATCD-3a135b20e2c3c3dd407b9b768a411645eca6a7e0.tar.gz
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Null_Barrier.h')
-rw-r--r--ACE/ace/Null_Barrier.h9
1 files changed, 3 insertions, 6 deletions
diff --git a/ACE/ace/Null_Barrier.h b/ACE/ace/Null_Barrier.h
index c1147907f4e..fc4ec18c576 100644
--- a/ACE/ace/Null_Barrier.h
+++ b/ACE/ace/Null_Barrier.h
@@ -4,8 +4,6 @@
/**
* @file Null_Barrier.h
*
- * Moved from Synch.h.
- *
* @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
*/
//==========================================================================
@@ -30,7 +28,7 @@ public:
void * = 0) {};
/// Default dtor.
- ~ACE_Null_Barrier () {};
+ ~ACE_Null_Barrier () = default;
/// Block the caller until all <count> threads have called <wait> and
/// then allow all the caller threads to continue in parallel.
@@ -43,9 +41,8 @@ public:
//ACE_ALLOC_HOOK_DECLARE;
private:
- // = Prevent assignment and initialization.
- void operator= (const ACE_Null_Barrier &);
- ACE_Null_Barrier (const ACE_Null_Barrier &);
+ void operator= (const ACE_Null_Barrier &) = delete;
+ ACE_Null_Barrier (const ACE_Null_Barrier &) = delete;
};
ACE_END_VERSIONED_NAMESPACE_DECL