summaryrefslogtreecommitdiff
path: root/ACE/ace/Task.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/Task.h
parent199259c5d2d5f4a6550382a683f5d54ac482fcd1 (diff)
downloadATCD-3a135b20e2c3c3dd407b9b768a411645eca6a7e0.tar.gz
Various cleanup and use of C++11 features
Diffstat (limited to 'ACE/ace/Task.h')
-rw-r--r--ACE/ace/Task.h6
1 files changed, 2 insertions, 4 deletions
diff --git a/ACE/ace/Task.h b/ACE/ace/Task.h
index 92a6e788f41..4d6cd358eba 100644
--- a/ACE/ace/Task.h
+++ b/ACE/ace/Task.h
@@ -282,10 +282,8 @@ protected:
/// Holds the thread ID of the last thread to exit svc() in this object.
ACE_thread_t last_thread_id_;
private:
-
- // = Disallow these operations.
- ACE_Task_Base &operator= (const ACE_Task_Base &);
- ACE_Task_Base (const ACE_Task_Base &);
+ ACE_Task_Base &operator= (const ACE_Task_Base &) = delete;
+ ACE_Task_Base (const ACE_Task_Base &) = delete;
};
ACE_END_VERSIONED_NAMESPACE_DECL