mirror of
https://github.com/boostorg/thread.git
synced 2026-02-13 00:42:09 +00:00
Fixed MSVC static analyser warning about writing off the end of an array.
This commit is contained in:
parent
e98447f974
commit
dfe95b3f2c
@@ -637,7 +637,7 @@ namespace boost
|
||||
|
||||
bool interruptible_wait(detail::win32::handle handle_to_wait_for,detail::timeout target_time)
|
||||
{
|
||||
detail::win32::handle handles[3]={0};
|
||||
detail::win32::handle handles[4]={0};
|
||||
unsigned handle_count=0;
|
||||
unsigned wait_handle_index=~0U;
|
||||
#if defined BOOST_THREAD_PROVIDES_INTERRUPTIONS
|
||||
|
||||
Reference in New Issue
Block a user