mirror of
https://github.com/boostorg/thread.git
synced 2026-02-09 23:42:18 +00:00
Thread: fix shared_ptr implicit conversion to bool introduced in [81780]
[SVN r81788]
This commit is contained in:
@@ -330,7 +330,7 @@ namespace boost
|
||||
|
||||
bool thread::joinable() const BOOST_NOEXCEPT
|
||||
{
|
||||
return (get_thread_info)();
|
||||
return (get_thread_info)() != 0;
|
||||
}
|
||||
bool thread::join_noexcept()
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user