We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent a645ef7 commit 86b7cebCopy full SHA for 86b7ceb
1 file changed
include/boost/thread/win32/thread_primitives.hpp
@@ -102,7 +102,7 @@ namespace boost
102
handle const res = ::boost::winapi::CreateEventExW(
103
0,
104
mutex_name,
105
- type ? create_event_manual_reset : 0 | state ? create_event_initial_set : 0,
+ (type ? create_event_manual_reset : 0) | (state ? create_event_initial_set : 0),
106
event_all_access);
107
#endif
108
return res;
0 commit comments