summaryrefslogtreecommitdiff
path: root/ACE/ace/Event.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.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.h')
-rw-r--r--ACE/ace/Event.h8
1 files changed, 2 insertions, 6 deletions
diff --git a/ACE/ace/Event.h b/ACE/ace/Event.h
index d0ebcb0c160..bd1270deea3 100644
--- a/ACE/ace/Event.h
+++ b/ACE/ace/Event.h
@@ -4,8 +4,6 @@
/**
* @file Event.h
*
- * Moved from Synch.h.
- *
* @author Douglas C. Schmidt <d.schmidt@vanderbilt.edu>
*/
//==========================================================================
@@ -63,14 +61,12 @@ public:
ACE_ALLOC_HOOK_DECLARE;
protected:
-
/// The policy to return the current time of day
TIME_POLICY time_policy_;
private:
- // = Prevent copying.
- ACE_Event_T (const ACE_Event_T<TIME_POLICY>& event);
- const ACE_Event_T &operator= (const ACE_Event_T<TIME_POLICY> &rhs);
+ ACE_Event_T (const ACE_Event_T<TIME_POLICY>& event) = delete;
+ const ACE_Event_T &operator= (const ACE_Event_T<TIME_POLICY> &rhs) = delete;
};
typedef ACE_Event_T<ACE_System_Time_Policy> ACE_Event;