Skip to content

Commit c1a2de2

Browse files
committed
Remove unnecessary zero-assignments in bitset string-like constructors
1 parent 9abcca5 commit c1a2de2

File tree

1 file changed

+0
-1
lines changed

1 file changed

+0
-1
lines changed

libcxx/include/bitset

Lines changed: 0 additions & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -738,7 +738,6 @@ private:
738738
_CharT __c = __str[__mp - 1 - __i];
739739
(*this)[__i] = _Traits::eq(__c, __one);
740740
}
741-
std::fill(__base::__make_iter(__i), __base::__make_iter(_Size), false);
742741
}
743742

744743
_LIBCPP_HIDE_FROM_ABI size_t __hash_code() const _NOEXCEPT { return __base::__hash_code(); }

0 commit comments

Comments
 (0)