mirror of
https://github.com/transmission/transmission
synced 2024-12-27 18:18:10 +00:00
Fixed tr_bitfield::operator|= range (#4351)
This commit is contained in:
parent
f58c238d4a
commit
7814e0736e
1 changed files with 1 additions and 1 deletions
|
@ -472,7 +472,7 @@ tr_bitfield& tr_bitfield::operator|=(tr_bitfield const& that) noexcept
|
|||
|
||||
flags_.resize(std::max(std::size(flags_), std::size(that.flags_)));
|
||||
|
||||
for (size_t i = 0, n = std::size(flags_); i < n; ++i)
|
||||
for (size_t i = 0, n = std::size(that.flags_); i < n; ++i)
|
||||
{
|
||||
flags_[i] |= that.flags_[i];
|
||||
}
|
||||
|
|
Loading…
Reference in a new issue