mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-12-21 01:55:15 +08:00
libstdc++: Remove condition around friend declaration (PR 96382)
libstdc++-v3/ChangeLog: PR libstdc++/96382 * include/bits/stl_iterator.h (reverse_iterator): Friend declaration should not depend on __cplusplus.
This commit is contained in:
parent
3a4a925980
commit
8abab28bb5
@ -129,10 +129,8 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
|
||||
typename iterator_traits<_Iterator>::pointer,
|
||||
typename iterator_traits<_Iterator>::reference>
|
||||
{
|
||||
#if __cplusplus >= 201103L
|
||||
template<typename _Iter>
|
||||
friend class reverse_iterator;
|
||||
#endif
|
||||
|
||||
#if __cpp_lib_concepts
|
||||
// _GLIBCXX_RESOLVE_LIB_DEFECTS
|
||||
|
Loading…
Reference in New Issue
Block a user