We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent e184100 commit 0eb607dCopy full SHA for 0eb607d
include/oup/observable_unique_ptr.hpp
@@ -201,8 +201,8 @@ class basic_control_block final {
201
static constexpr control_block_storage_type get_highest_bit_mask() {
202
// NB: This is put in a function to avoid a spurious MSVC warning.
203
return static_cast<control_block_storage_type>(1)
204
- << static_cast<control_block_storage_type>(
205
- sizeof(control_block_storage_type) * 8 - 1);
+ << (static_cast<control_block_storage_type>(
+ sizeof(control_block_storage_type) * 8 - 1));
206
}
207
208
static constexpr control_block_storage_type highest_bit_mask = get_highest_bit_mask();
0 commit comments