From d0e7e2bb502dedc6a66e8018b65e3e0395c25bd0 Mon Sep 17 00:00:00 2001 From: yronglin Date: Sun, 10 Mar 2024 21:17:57 +0800 Subject: [PATCH] : Drop one superfluous _Fake_copy_init where the argument type is always bool Signed-off-by: yronglin --- stl/inc/ranges | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) diff --git a/stl/inc/ranges b/stl/inc/ranges index 7d85b738460..43e3b787fd2 100644 --- a/stl/inc/ranges +++ b/stl/inc/ranges @@ -3906,8 +3906,7 @@ namespace ranges { } _NODISCARD_FRIEND constexpr bool operator==(const _Iterator& _Left, const _Iterator& _Right) noexcept( - noexcept(_Fake_copy_init( - _Left._Outer == _Right._Outer && _Left._Inner == _Right._Inner))) /* strengthened */ + noexcept(_Left._Outer == _Right._Outer && _Left._Inner == _Right._Inner)) /* strengthened */ requires _Deref_is_glvalue && forward_range<_Base> && equality_comparable<_InnerIter> { #if _ITERATOR_DEBUG_LEVEL != 0