Skip to content

Commit 52b486d

Browse files
committed
Remove unnecessary zero-assignments in bitset string-like constructors
1 parent bee9664 commit 52b486d

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
@@ -736,7 +736,6 @@ private:
736736
_CharT __c = __str[__mp - 1 - __i];
737737
(*this)[__i] = _Traits::eq(__c, __one);
738738
}
739-
std::fill(__base::__make_iter(__i), __base::__make_iter(_Size), false);
740739
}
741740

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

0 commit comments

Comments
 (0)