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 1149a2a commit 4bc857cCopy full SHA for 4bc857c
cppcodec/detail/stream_codec.hpp
@@ -241,7 +241,7 @@ struct alphabet_index_info
241
static constexpr const alphabet_index_t padding_idx = 1 << 8;
242
static constexpr const alphabet_index_t invalid_idx = 1 << 9;
243
static constexpr const alphabet_index_t eof_idx = 1 << 10;
244
- static constexpr const alphabet_index_t stop_character_mask{~0xFFu};
+ static constexpr const alphabet_index_t stop_character_mask = static_cast<alphabet_index_t>(~0xFFu);
245
246
static constexpr const bool padding_allowed = padding_searcher<
247
CodecVariant, num_possible_symbols>::exists_padding_symbol();
0 commit comments