diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2023-07-04 15:29:35 +0100 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2023-07-05 07:39:03 +0100 |
commit | 49f2b325ec7a49e41fc107239542eae0eb6d364e (patch) | |
tree | 886f81cfec538f90f4812c5edba718056ecc976f /libstdc++-v3 | |
parent | 8377cf1bf41a0a9d9d49de807b2341f0bf5d30cf (diff) | |
download | gcc-49f2b325ec7a49e41fc107239542eae0eb6d364e.zip gcc-49f2b325ec7a49e41fc107239542eae0eb6d364e.tar.gz gcc-49f2b325ec7a49e41fc107239542eae0eb6d364e.tar.bz2 |
libstdc++: Add redundant 'typename' to std::projected
This is needed by Clang 15.
libstdc++-v3/ChangeLog:
* include/bits/iterator_concepts.h (projected): Add typename.
Diffstat (limited to 'libstdc++-v3')
-rw-r--r-- | libstdc++-v3/include/bits/iterator_concepts.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/iterator_concepts.h b/libstdc++-v3/include/bits/iterator_concepts.h index 6802582..e32e94d 100644 --- a/libstdc++-v3/include/bits/iterator_concepts.h +++ b/libstdc++-v3/include/bits/iterator_concepts.h @@ -798,7 +798,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION /// [projected], projected template<indirectly_readable _Iter, indirectly_regular_unary_invocable<_Iter> _Proj> - using projected = __detail::__projected<_Iter, _Proj>::__type; + using projected = typename __detail::__projected<_Iter, _Proj>::__type; // [alg.req], common algorithm requirements |