Skip to content

Commit 584144f

Browse files
authored
<ranges>: Drop one superfluous _Fake_copy_init<bool> where the argument type is always bool (#4465)
1 parent 33854e5 commit 584144f

File tree

1 file changed

+1
-2
lines changed

1 file changed

+1
-2
lines changed

stl/inc/ranges

Lines changed: 1 addition & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -3906,8 +3906,7 @@ namespace ranges {
39063906
}
39073907

39083908
_NODISCARD_FRIEND constexpr bool operator==(const _Iterator& _Left, const _Iterator& _Right) noexcept(
3909-
noexcept(_Fake_copy_init<bool>(
3910-
_Left._Outer == _Right._Outer && _Left._Inner == _Right._Inner))) /* strengthened */
3909+
noexcept(_Left._Outer == _Right._Outer && _Left._Inner == _Right._Inner)) /* strengthened */
39113910
requires _Deref_is_glvalue && forward_range<_Base> && equality_comparable<_InnerIter>
39123911
{
39133912
#if _ITERATOR_DEBUG_LEVEL != 0

0 commit comments

Comments
 (0)