diff options
author | Jonathan Wakely <jwakely@redhat.com> | 2020-02-06 11:33:12 +0000 |
---|---|---|
committer | Jonathan Wakely <jwakely@redhat.com> | 2020-02-06 13:32:48 +0000 |
commit | bd630df033784c791c3ca49fc30821eaee35f7c2 (patch) | |
tree | a41f151c56940cb2eb6bf41c80e8a598fd961908 | |
parent | 26eae9ac2bf75a26a419dc1e47a067c66331fb74 (diff) | |
download | gcc-bd630df033784c791c3ca49fc30821eaee35f7c2.zip gcc-bd630df033784c791c3ca49fc30821eaee35f7c2.tar.gz gcc-bd630df033784c791c3ca49fc30821eaee35f7c2.tar.bz2 |
libstdc++: Fix comment to refer to correct PR
* include/bits/stl_iterator.h (__detail::__common_iter_ptr): Fix PR
number in comment. Fix indentation.
-rw-r--r-- | libstdc++-v3/ChangeLog | 3 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/stl_iterator.h | 8 |
2 files changed, 7 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index a9c96ac..5ce1473 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2020-02-06 Jonathan Wakely <jwakely@redhat.com> + * include/bits/stl_iterator.h (__detail::__common_iter_ptr): Fix PR + number in comment. Fix indentation. + * include/bits/stl_algobase.h (__iter_swap, __iter_swap<true>): Remove redundant _GLIBCXX20_CONSTEXPR. diff --git a/libstdc++-v3/include/bits/stl_iterator.h b/libstdc++-v3/include/bits/stl_iterator.h index c200f7a..69c6ae6 100644 --- a/libstdc++-v3/include/bits/stl_iterator.h +++ b/libstdc++-v3/include/bits/stl_iterator.h @@ -1737,12 +1737,12 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION namespace __detail { - // FIXME: This has to be at namespace-scope because of PR 92078. + // FIXME: This has to be at namespace-scope because of PR 92103. template<typename _Iter> struct __common_iter_ptr - { - using type = void; - }; + { + using type = void; + }; template<typename _Iter> requires __detail::__common_iter_has_arrow<_Iter> |