summaryrefslogtreecommitdiff
path: root/deps/acelite/ace/Thread_Manager.cpp
diff options
context:
space:
mode:
authorFrancesco Borzì <borzifrancesco@gmail.com>2019-09-02 08:54:10 +0200
committerKargatum <dowlandtop@yandex.com>2019-09-02 13:54:10 +0700
commit3a43e8c415cee4041f2a59e9ebc8af721a49be23 (patch)
tree7fab232fa852d0f0e3709d24d447d6271955da2c /deps/acelite/ace/Thread_Manager.cpp
parentcae91f1650c080458f8edbd5cb6fd6b638215e0a (diff)
feat(Core): enable C++17 (#2234)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
Diffstat (limited to 'deps/acelite/ace/Thread_Manager.cpp')
-rw-r--r--deps/acelite/ace/Thread_Manager.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/deps/acelite/ace/Thread_Manager.cpp b/deps/acelite/ace/Thread_Manager.cpp
index 657ac9f350..6e2da7db33 100644
--- a/deps/acelite/ace/Thread_Manager.cpp
+++ b/deps/acelite/ace/Thread_Manager.cpp
@@ -580,7 +580,7 @@ ACE_Thread_Manager::spawn_i (ACE_THR_FUNC func,
// Create a new thread running <func>. *Must* be called with the
// <lock_> held...
// Get a "new" Thread Descriptor from the freelist.
- auto_ptr<ACE_Thread_Descriptor> new_thr_desc (this->thread_desc_freelist_.remove ());
+ std::unique_ptr<ACE_Thread_Descriptor> new_thr_desc (this->thread_desc_freelist_.remove ());
// Reset thread descriptor status
new_thr_desc->reset (this);
@@ -607,7 +607,7 @@ ACE_Thread_Manager::spawn_i (ACE_THR_FUNC func,
flags),
-1);
# endif /* ACE_HAS_WIN32_STRUCTURAL_EXCEPTIONS */
- auto_ptr <ACE_Base_Thread_Adapter> auto_thread_args (static_cast<ACE_Base_Thread_Adapter *> (thread_args));
+ std::unique_ptr <ACE_Base_Thread_Adapter> auto_thread_args (static_cast<ACE_Base_Thread_Adapter *> (thread_args));
ACE_TRACE ("ACE_Thread_Manager::spawn_i");
ACE_hthread_t thr_handle;