From: Paolo Carlini Date: Tue, 3 Apr 2007 08:50:09 +0000 (+0000) Subject: stl_map.h (map<>::insert(iterator, const value_type&): Uglify parameter. X-Git-Url: https://git.libre-soc.org/?a=commitdiff_plain;h=eb9af792f2c0e8934f6b537ec12f8211d1fba505;p=gcc.git stl_map.h (map<>::insert(iterator, const value_type&): Uglify parameter. 2007-04-03 Paolo Carlini * include/bits/stl_map.h (map<>::insert(iterator, const value_type&): Uglify parameter. From-SVN: r123453 --- diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 9a25a519eb1..a2f10f4654f 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -1,3 +1,8 @@ +2007-04-03 Paolo Carlini + + * include/bits/stl_map.h (map<>::insert(iterator, const value_type&): + Uglify parameter. + 2007-04-03 Paolo Carlini PR libstdc++/31440 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 + std::pair 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.