2
0
mirror of https://github.com/boostorg/thread.git synced 2026-02-12 12:32:10 +00:00

fix bad usage of share_from_this before the instance is ahared :(.

This commit is contained in:
Vicente J. Botet Escriba
2015-09-28 23:48:20 +02:00
parent 06179eda96
commit 5c1482a636
7 changed files with 114 additions and 103 deletions

View File

@@ -830,7 +830,7 @@ namespace boost
}
namespace detail {
void BOOST_THREAD_DECL make_ready_at_thread_exit(shared_ptr<shared_state_base> as)
void BOOST_THREAD_DECL make_ready_at_thread_exit(csbl::shared_ptr<shared_state_base> as)
{
detail::thread_data_base* const current_thread_data(detail::get_current_thread_data());
if(current_thread_data)