Everywhere: Use east const in more places

These changes are compatible with clang-format 16 and will be mandatory
when we eventually bump clang-format version. So, since there are no
real downsides, let's commit them now.
This commit is contained in:
Dan Klishch
2024-04-18 15:32:56 -04:00
committed by Tim Flynn
parent 5ef6df79ed
commit 5ed7cd6e32
Notes: sideshowbarker 2024-07-16 23:38:54 +09:00
175 changed files with 353 additions and 353 deletions

View File

@@ -545,8 +545,8 @@ u32 UnsignedBigInteger::hash() const
void UnsignedBigInteger::set_bit_inplace(size_t bit_index)
{
const size_t word_index = bit_index / UnsignedBigInteger::BITS_IN_WORD;
const size_t inner_word_index = bit_index % UnsignedBigInteger::BITS_IN_WORD;
size_t const word_index = bit_index / UnsignedBigInteger::BITS_IN_WORD;
size_t const inner_word_index = bit_index % UnsignedBigInteger::BITS_IN_WORD;
m_words.ensure_capacity(word_index + 1);