diff options
author | François Dumont <fdumont@gcc.gnu.org> | 2014-08-09 08:00:59 +0000 |
---|---|---|
committer | François Dumont <fdumont@gcc.gnu.org> | 2014-08-09 08:00:59 +0000 |
commit | 013078982d33a06a6b323556d8615f2b48dc38ab (patch) | |
tree | bfea6221ffb1a89f776738cf631fb37b682fd86f /libcpp | |
parent | b5bdf598f9a3fa0c883982a95517bf4477796dd2 (diff) | |
download | gcc-013078982d33a06a6b323556d8615f2b48dc38ab.zip gcc-013078982d33a06a6b323556d8615f2b48dc38ab.tar.gz gcc-013078982d33a06a6b323556d8615f2b48dc38ab.tar.bz2 |
re PR libstdc++/61667 (setting max_load_factor of unordered_map cause buckets shrink)
2014-08-09 François Dumont <fdumont@gcc.gnu.org>
PR libstdc++/61667
* include/bits/hashtable.h (_Hashtable<>::__rehash_policy): Use
_M_need_rehash to initialize the rehash policy and check if a rehash is
needed.
* testsuite/23_containers/unordered_map/modifiers/61667.cc: New.
From-SVN: r213775
Diffstat (limited to 'libcpp')
0 files changed, 0 insertions, 0 deletions