summaryrefslogtreecommitdiff
path: root/ACE/ace/Event_Base.h
diff options
context:
space:
mode:
authorJohnny Willemsen <jwillemsen@remedy.nl>2021-03-09 18:44:09 +0100
committerGitHub <noreply@github.com>2021-03-09 18:44:09 +0100
commitb0a0b92a0ee6bb248700d6ff4e7c51cc44db198f (patch)
treef78fc5b7b2ea337ffc306a77223018fcc780e507 /ACE/ace/Event_Base.h
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
parentadc1dcda981a4c76612bedeba2dddb76aa272d6f (diff)
downloadATCD-b0a0b92a0ee6bb248700d6ff4e7c51cc44db198f.tar.gz
Merge pull request #1446 from jwillemsen/jwi-cpp11cleanup
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Event_Base.h')
-rw-r--r--ACE/ace/Event_Base.h7
1 files changed, 2 insertions, 5 deletions
diff --git a/ACE/ace/Event_Base.h b/ACE/ace/Event_Base.h
index aaef456772b..da982122ff1 100644
--- a/ACE/ace/Event_Base.h
+++ b/ACE/ace/Event_Base.h
@@ -4,8 +4,6 @@
/**
* @file Event_Base.h
*
- * Moved from Synch.h.
- *
* @author Martin Corino <mcorino@remedy.nl>
*/
//==========================================================================
@@ -124,9 +122,8 @@ protected:
bool removed_;
private:
- // = Prevent copying.
- ACE_Event_Base (const ACE_Event_Base& event);
- const ACE_Event_Base &operator= (const ACE_Event_Base &rhs);
+ ACE_Event_Base (const ACE_Event_Base& event) = delete;
+ const ACE_Event_Base &operator= (const ACE_Event_Base &rhs) = delete;
};
ACE_END_VERSIONED_NAMESPACE_DECL