]> git.ipfire.org Git - thirdparty/gcc.git/commitdiff
forward_list.h (forward_list<>::insert_after): Minor cosmetic changes.
authorPaolo Carlini <paolo.carlini@oracle.com>
Fri, 17 Oct 2008 08:37:02 +0000 (08:37 +0000)
committerPaolo Carlini <paolo@gcc.gnu.org>
Fri, 17 Oct 2008 08:37:02 +0000 (08:37 +0000)
2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>

* include/bits/forward_list.h (forward_list<>::insert_after): Minor
cosmetic changes.

From-SVN: r141190

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/forward_list.h

index 1364419d2996846ff42bef8238cb47ea1b2f4e7f..2149864985e2ecc0de28b9598caebe0aed6b5ad0 100644 (file)
@@ -1,3 +1,8 @@
+2008-10-17  Paolo Carlini  <paolo.carlini@oracle.com>
+
+       * include/bits/forward_list.h (forward_list<>::insert_after): Minor
+       cosmetic changes.
+
 2008-10-16  Edward Smith-Rowland  <3dw4rd@verizon.net>
 
        * include/bits/forward_list.h: Factor list construction to dispatch
index cce8f3d7cc52ed2349c6a4cf8889fb877897b8d3..3c9f3ad96b42da428265c61571873e774daee6dd 100644 (file)
@@ -888,7 +888,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
       void
       insert_after(const_iterator __pos, size_type __n, const _Tp& __val)
       {
-        forward_list<_Tp, _Alloc> __tmp(__n, __val, this->get_allocator());
+        forward_list __tmp(__n, __val, this->get_allocator());
         this->splice_after(__pos, std::move(__tmp));
       }
 
@@ -910,7 +910,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
         insert_after(const_iterator __pos,
                      _InputIterator __first, _InputIterator __last)
         {
-          forward_list<_Tp, _Alloc> __tmp(__first, __last, this->get_allocator());
+          forward_list __tmp(__first, __last, this->get_allocator());
           this->splice_after(__pos, std::move(__tmp));
         }
 
@@ -930,7 +930,7 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
       void
       insert_after(const_iterator __pos, std::initializer_list<_Tp> __il)
       {
-        forward_list<_Tp, _Alloc> __tmp(__il, this->get_allocator());
+        forward_list __tmp(__il, this->get_allocator());
         this->splice_after(__pos, std::move(__tmp));
       }
 
@@ -1227,8 +1227,8 @@ _GLIBCXX_BEGIN_NAMESPACE(std)
        _M_initialize_dispatch(_InputIterator __first, _InputIterator __last,
                               __false_type);
 
-      // Called by forward_list(n,v,a), and the range constructor when it turns out
-      // to be the same thing.
+      // Called by forward_list(n,v,a), and the range constructor when it
+      // turns out to be the same thing.
       void
       _M_fill_initialize(size_type __n, const value_type& __value);
     };