[gcc/devel/gccgo] libstdc++: Fix comment to refer to correct PR

Ian Lance Taylor ian@gcc.gnu.org
Sat Apr 4 20:54:38 GMT 2020


https://gcc.gnu.org/g:bd630df033784c791c3ca49fc30821eaee35f7c2

commit bd630df033784c791c3ca49fc30821eaee35f7c2
Author: Jonathan Wakely <jwakely@redhat.com>
Date:   Thu Feb 6 11:33:12 2020 +0000

    libstdc++: Fix comment to refer to correct PR
    
            * include/bits/stl_iterator.h (__detail::__common_iter_ptr): Fix PR
            number in comment. Fix indentation.

Diff:
---
 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  <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 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<typename _Iter>
       struct __common_iter_ptr
-	{
-	  using type = void;
-	};
+      {
+	using type = void;
+      };
 
     template<typename _Iter>
       requires __detail::__common_iter_has_arrow<_Iter>


More information about the Libstdc++-cvs mailing list