summaryrefslogtreecommitdiff
path: root/ACE/ace/Task.h
diff options
context:
space:
mode:
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