diff options
author | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-03 08:50:09 +0000 |
---|---|---|
committer | paolo <paolo@138bc75d-0d04-0410-961f-82ee72b054a4> | 2007-04-03 08:50:09 +0000 |
commit | fea3abe2d5fc8be49664ea3e5396632229718bb1 (patch) | |
tree | b6f6c5ee483abc5e6424a8a8272fef3d7cf41d24 | |
parent | 7a9cd32731b9a23472c33ccbf297e8ae807b8297 (diff) | |
download | gcc-fea3abe2d5fc8be49664ea3e5396632229718bb1.tar.gz |
2007-04-03 Paolo Carlini <pcarlini@suse.de>
* include/bits/stl_map.h (map<>::insert(iterator, const value_type&):
Uglify parameter.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@123453 138bc75d-0d04-0410-961f-82ee72b054a4
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/stl_map.h | 9 |
2 files changed, 10 insertions, 4 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9a25a519eb1..a2f10f4654f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,5 +1,10 @@ 2007-04-03 Paolo Carlini <pcarlini@suse.de> + * include/bits/stl_map.h (map<>::insert(iterator, const value_type&): + Uglify parameter. + +2007-04-03 Paolo Carlini <pcarlini@suse.de> + PR libstdc++/31440 * include/bits/stl_tree.h (_M_lower_bound(_Link_type, _Link_type, const _Key&), _M_upper_bound(_Link_type, _Link_type, const _Key&)): diff --git a/libstdc++-v3/include/bits/stl_map.h b/libstdc++-v3/include/bits/stl_map.h index d04b3767a69..e30eac28239 100644 --- a/libstdc++-v3/include/bits/stl_map.h +++ b/libstdc++-v3/include/bits/stl_map.h @@ -1,6 +1,7 @@ // Map implementation -*- C++ -*- -// Copyright (C) 2001, 2002, 2004, 2005, 2006 Free Software Foundation, Inc. +// Copyright (C) 2001, 2002, 2003, 2004, 2005, 2006, 2007 +// Free Software Foundation, Inc. // // This file is part of the GNU ISO C++ Library. This library is free // software; you can redistribute it and/or modify it under the @@ -394,7 +395,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD) * * Insertion requires logarithmic time. */ - std::pair<iterator,bool> + std::pair<iterator, bool> insert(const value_type& __x) { return _M_t._M_insert_unique(__x); } @@ -422,8 +423,8 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD) * Insertion requires logarithmic time (if the hint is not taken). */ iterator - insert(iterator position, const value_type& __x) - { return _M_t._M_insert_unique_(position, __x); } + insert(iterator __position, const value_type& __x) + { return _M_t._M_insert_unique_(__position, __x); } /** * @brief Template function that attemps to insert a range of elements. |