From b6a9deb1e2ae01ee906e78e06e3a1b073d20e023 Mon Sep 17 00:00:00 2001 From: Alexandre Oliva Date: Fri, 7 Jun 2024 07:00:11 -0300 Subject: [PATCH] [libstdc++] drop workaround for clang<=7 In response to a request in the review of the patch that introduced _GLIBCXX_CLANG, this patch removes from std/variant an obsolete workaround for clang 7-. for libstdc++-v3/ChangeLog * include/std/variant: Drop obsolete workaround. --- libstdc++-v3/include/std/variant | 5 ----- 1 file changed, 5 deletions(-) diff --git a/libstdc++-v3/include/std/variant b/libstdc++-v3/include/std/variant index 51aaa620851..13ea1dd3849 100644 --- a/libstdc++-v3/include/std/variant +++ b/libstdc++-v3/include/std/variant @@ -1758,11 +1758,6 @@ namespace __detail::__variant }, __rhs); } -#if defined(_GLIBCXX_CLANG) && __clang_major__ <= 7 - public: - using _Base::_M_u; // See https://bugs.llvm.org/show_bug.cgi?id=31852 -#endif - private: template friend constexpr decltype(auto) -- 2.47.2