2
0
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:
Anthony Williams
2007-11-05 16:47:25 +00:00
parent c246222ded
commit 320cb63df4

View File

@@ -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