mirror of
https://github.com/boostorg/thread.git
synced 2026-01-25 18:52:16 +00:00
Use BOOST_VERIFY instead of BOOST_ASSERT in many places in order to avoid unused variable warnings
[SVN r40792]
This commit is contained in:
@@ -58,8 +58,7 @@ namespace boost
|
||||
void set_current_thread_data(detail::thread_data_base* new_data)
|
||||
{
|
||||
boost::call_once(current_thread_tls_init_flag,create_current_thread_tls_key);
|
||||
BOOL const res=TlsSetValue(current_thread_tls_key,new_data);
|
||||
BOOST_ASSERT(res);
|
||||
BOOST_VERIFY(TlsSetValue(current_thread_tls_key,new_data));
|
||||
}
|
||||
#endif
|
||||
|
||||
|
||||
Reference in New Issue
Block a user