mirror of
https://github.com/mod-playerbots/azerothcore-wotlk.git
synced 2026-01-24 14:16:31 +00:00
feat(Core): enable C++17 (#2234)
Co-authored-by: Winfidonarleyan <dowlandtop@yandex.com>
This commit is contained in:
committed by
Kargatum
parent
cae91f1650
commit
3a43e8c415
4
deps/acelite/ace/Thread_Manager.cpp
vendored
4
deps/acelite/ace/Thread_Manager.cpp
vendored
@@ -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;
|
||||
|
||||
Reference in New Issue
Block a user