diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-07-31 19:55:28 +0100 |
---|---|---|
committer | Giuliano Belinassi <giuliano.belinassi@usp.br> | 2020-08-17 13:20:27 -0300 |
commit | b59807a09e2734e327311b7ee07764494b7864d7 (patch) | |
tree | 847ff8e5653232874bbb216b8934bdaf5ccb8ddd | |
parent | 2ada22cb5806b840940a2efda648dcd941abbe75 (diff) | |
download | gcc-b59807a09e2734e327311b7ee07764494b7864d7.zip gcc-b59807a09e2734e327311b7ee07764494b7864d7.tar.gz gcc-b59807a09e2734e327311b7ee07764494b7864d7.tar.bz2 |
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.
-rw-r--r-- | libstdc++-v3/include/bits/stl_iterator.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/libstdc++-v3/include/bits/stl_iterator.h b/libstdc++-v3/include/bits/stl_iterator.h index 60bb40a..08e25d8 100644 --- a/libstdc++-v3/include/bits/stl_iterator.h +++ b/libstdc++-v3/include/bits/stl_iterator.h @@ -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 |