diff options
author | Dennis Czeremin <dennis.czeremin@smiths-heimann.com> | 2008-03-13 17:48:21 +0000 |
---|---|---|
committer | Paolo Carlini <paolo@gcc.gnu.org> | 2008-03-13 17:48:21 +0000 |
commit | 3dd44c8d04877e80708c9524b69ebb3b6fd5e2ae (patch) | |
tree | 2f28093a193b96a96d2129347aca85dc15966a13 /libstdc++-v3/include | |
parent | a6becb0ef51f3ccbe31fdb0eaa5f6448d575b062 (diff) | |
download | gcc-3dd44c8d04877e80708c9524b69ebb3b6fd5e2ae.zip gcc-3dd44c8d04877e80708c9524b69ebb3b6fd5e2ae.tar.gz gcc-3dd44c8d04877e80708c9524b69ebb3b6fd5e2ae.tar.bz2 |
re PR libstdc++/35566 (multiset constructor uses insert_unique instead of insert_equal!)
2008-03-13 Dennis Czeremin <dennis.czeremin@smiths-heimann.com>
PR libstdc++/35566
* include/bits/stl_multimap.h (multimap<>::multimap(_InputIterator,
_InputIterator)): Forward to _M_insert_equal, not _M_insert_unique.
From-SVN: r133175
Diffstat (limited to 'libstdc++-v3/include')
-rw-r--r-- | libstdc++-v3/include/bits/stl_multimap.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/bits/stl_multimap.h b/libstdc++-v3/include/bits/stl_multimap.h index cfc1a69..ade2750 100644 --- a/libstdc++-v3/include/bits/stl_multimap.h +++ b/libstdc++-v3/include/bits/stl_multimap.h @@ -197,7 +197,7 @@ _GLIBCXX_BEGIN_NESTED_NAMESPACE(std, _GLIBCXX_STD_D) template<typename _InputIterator> multimap(_InputIterator __first, _InputIterator __last) : _M_t() - { _M_t._M_insert_unique(__first, __last); } + { _M_t._M_insert_equal(__first, __last); } /** * @brief Builds a %multimap from a range. |