OSDN Git Service

2011-12-07 Fran├žois Dumont <fdumont@gcc.gnu.org>
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2011 19:47:03 +0000 (19:47 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 7 Dec 2011 19:47:03 +0000 (19:47 +0000)
commitd0914bfdd37704e9ecd85b28cb7e420b01645426
treec55917c60479c8571ba34ecd6313ba38a6d70232
parenta53286c0084b73466d07a3f73137ff487cfc1cea
2011-12-07  Fran├žois Dumont <fdumont@gcc.gnu.org>

PR libstdc++/51386
* include/bits/hashtable_policy.h (_Prime_rehash_policy::_M_next_bkt):
Fix computation of _M_prev_resize so that hashtable do not keep on
being rehashed when _M_max_load_factor is lower than 1.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@182085 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable_policy.h