From bd630df033784c791c3ca49fc30821eaee35f7c2 Mon Sep 17 00:00:00 2001 From: Jonathan Wakely Date: Thu, 6 Feb 2020 11:33:12 +0000 Subject: [PATCH] libstdc++: Fix comment to refer to correct PR * include/bits/stl_iterator.h (__detail::__common_iter_ptr): Fix PR number in comment. Fix indentation. --- libstdc++-v3/ChangeLog | 3 +++ 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 a9c96ac9185..5ce1473b621 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,8 @@ 2020-02-06 Jonathan Wakely + * 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): Remove redundant _GLIBCXX20_CONSTEXPR. diff --git a/libstdc++-v3/include/bits/stl_iterator.h b/libstdc++-v3/include/bits/stl_iterator.h index c200f7a9d14..69c6ae66cdf 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 struct __common_iter_ptr - { - using type = void; - }; + { + using type = void; + }; template requires __detail::__common_iter_has_arrow<_Iter> -- 2.30.2