OSDN Git Service

2012-01-18 Fran├žois Dumont <fdumont@gcc.gnu.org>
authorfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jan 2012 20:17:57 +0000 (20:17 +0000)
committerfdumont <fdumont@138bc75d-0d04-0410-961f-82ee72b054a4>
Wed, 18 Jan 2012 20:17:57 +0000 (20:17 +0000)
commit5de0281d0e6f37ff1435516f3d55f22ad72279bc
tree8abd2d9719fc4e2b32085b95da5449eaee01bded
parentddf9700643b02ae94180d7e6657b8afda552d65c
2012-01-18  Fran├žois Dumont  <fdumont@gcc.gnu.org>
    Roman Kononov  <roman@binarylife.net>

PR libstdc++/51866
* include/bits/hashtable.h (_Hashtable<>::_M_insert(_Arg, false_type)):
Do not keep a reference to a potentially moved instance.
* testsuite/23_containers/unordered_multiset/insert/51866.cc: New.
* testsuite/23_containers/unordered_multimap/insert/51866.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@183285 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/hashtable.h
libstdc++-v3/testsuite/23_containers/unordered_multimap/insert/51866.cc [new file with mode: 0644]
libstdc++-v3/testsuite/23_containers/unordered_multiset/insert/51866.cc [new file with mode: 0644]