diff options
author | Alexandre Oliva <oliva@adacore.com> | 2024-06-07 07:00:11 -0300 |
---|---|---|
committer | Alexandre Oliva <oliva@gnu.org> | 2024-06-07 07:00:11 -0300 |
commit | b6a9deb1e2ae01ee906e78e06e3a1b073d20e023 (patch) | |
tree | fccb0bb12ae158e04496174e9dc9684e471879d8 | |
parent | dd6f942c266533b2f72610f354bc9184f8276beb (diff) | |
download | gcc-b6a9deb1e2ae01ee906e78e06e3a1b073d20e023.zip gcc-b6a9deb1e2ae01ee906e78e06e3a1b073d20e023.tar.gz gcc-b6a9deb1e2ae01ee906e78e06e3a1b073d20e023.tar.bz2 |
[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.
-rw-r--r-- | libstdc++-v3/include/std/variant | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/libstdc++-v3/include/std/variant b/libstdc++-v3/include/std/variant index 51aaa62..13ea1dd 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<size_t _Np, typename _Vp> friend constexpr decltype(auto) |