Hello all,

This is a simple (and my first) patch that fixes a comment
in include/list.

Qian Yun

--- a/include/list
+++ b/include/list
@@ -1129,9 +1129,9 @@
     __l->__next_->__prev_ = __l;
     base::__end_.__next_ = __f;
 }

-// Link in nodes [__f, __l] at the front of the list
+// Link in nodes [__f, __l] at the back of the list
 template <class _Tp, class _Alloc>
 inline
 void
 list<_Tp, _Alloc>::__link_nodes_at_back(__link_pointer __f, __link_pointer __l)
diff --git a/include/list b/include/list
index 32e9a27bd..6456ad4f9 100644
--- a/include/list
+++ b/include/list
@@ -1129,9 +1129,9 @@
     __l->__next_->__prev_ = __l;
     base::__end_.__next_ = __f;
 }
 
-// Link in nodes [__f, __l] at the front of the list
+// Link in nodes [__f, __l] at the back of the list
 template <class _Tp, class _Alloc>
 inline
 void
 list<_Tp, _Alloc>::__link_nodes_at_back(__link_pointer __f, __link_pointer __l)
_______________________________________________
cfe-commits mailing list
cfe-commits@lists.llvm.org
http://lists.llvm.org/cgi-bin/mailman/listinfo/cfe-commits

Reply via email to