aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3
diff options
context:
space:
mode:
authorNathaniel Shead <nathanieloshead@gmail.com>2024-11-05 09:37:23 +1100
committerNathaniel Shead <nathanieloshead@gmail.com>2024-11-05 09:53:07 +1100
commit35425d025b46a384fa89c4d06bd7c128d09e3009 (patch)
treee13682eb9a9c6d6c6f2e4b0234abbb953288fd20 /libstdc++-v3
parentc1d91adb572ca0c5f5e788b070e97c4fe744505a (diff)
downloadgcc-35425d025b46a384fa89c4d06bd7c128d09e3009.zip
gcc-35425d025b46a384fa89c4d06bd7c128d09e3009.tar.gz
gcc-35425d025b46a384fa89c4d06bd7c128d09e3009.tar.bz2
libstdc++: Remove workaround for modules issue [PR113814]
The modules bug requiring this workaround was fixed with commit r15-4862-g815e48e3d42231. PR testsuite/113710 PR c++/113814 libstdc++-v3/ChangeLog: * include/bits/stl_pair.h: Remove workaround. Signed-off-by: Nathaniel Shead <nathanieloshead@gmail.com>
Diffstat (limited to 'libstdc++-v3')
-rw-r--r--libstdc++-v3/include/bits/stl_pair.h5
1 files changed, 0 insertions, 5 deletions
diff --git a/libstdc++-v3/include/bits/stl_pair.h b/libstdc++-v3/include/bits/stl_pair.h
index 0d60eab..e92fcad 100644
--- a/libstdc++-v3/include/bits/stl_pair.h
+++ b/libstdc++-v3/include/bits/stl_pair.h
@@ -1183,11 +1183,6 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
struct tuple_element<1, pair<_Tp1, _Tp2>>
{ typedef _Tp2 type; };
- // Forward declare the partial specialization for std::tuple
- // to work around modules bug PR c++/113814.
- template<size_t __i, typename... _Types>
- struct tuple_element<__i, tuple<_Types...>>;
-
#if __cplusplus >= 201703L
template<typename _Tp1, typename _Tp2>
inline constexpr size_t tuple_size_v<pair<_Tp1, _Tp2>> = 2;