Fix clang-tidy modernize-return-braced-init-list findings

This commit is contained in:
Tim Wojtulewicz 2025-05-15 09:52:10 -07:00
parent 8c3eee7a87
commit 17c14a3ce1
9 changed files with 26 additions and 29 deletions

View file

@ -350,7 +350,7 @@ bool BitVector::operator[](size_type i) const {
BitVector::Reference BitVector::operator[](size_type i) {
assert(i < num_bits);
return Reference(bits[block_index(i)], bit_index(i));
return {bits[block_index(i)], bit_index(i)};
}
BitVector::size_type BitVector::Count() const {