summaryrefslogtreecommitdiffstats
path: root/libstdc++-v3/include/bits
diff options
context:
space:
mode:
authorpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-17 08:37:02 +0000
committerpaolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4>2008-10-17 08:37:02 +0000
commit4740f794f28145f95071c17af2c92132dadecda4 (patch)
tree76df0f40dcc6bec8de8d495ce32ea3c7d2947768 /libstdc++-v3/include/bits
parentdf8edd96ca29c35daafc80f853783c0663a2a3e4 (diff)
downloadppe42-gcc-4740f794f28145f95071c17af2c92132dadecda4.tar.gz
ppe42-gcc-4740f794f28145f95071c17af2c92132dadecda4.zip
2008-10-17 Paolo Carlini <paolo.carlini@oracle.com>
* include/bits/forward_list.h (forward_list<>::insert_after): Minor cosmetic changes. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@141190 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/bits')
-rw-r--r--libstdc++-v3/include/bits/forward_list.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/libstdc++-v3/include/bits/forward_list.h b/libstdc++-v3/include/bits/forward_list.h
index cce8f3d7cc5..3c9f3ad96b4 100644
--- a/libstdc++-v3/include/bits/forward_list.h
+++ b/libstdc++-v3/include/bits/forward_list.h
@@ -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);
};
OpenPOWER on IntegriCloud