2
0
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:
Vicente J. Botet Escriba
2012-12-08 11:01:15 +00:00
parent 4209dfaa7f
commit 593e9e0f2f
2 changed files with 2 additions and 2 deletions

View File

@@ -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()
{