]> git.ipfire.org Git - thirdparty/gcc.git/commit - libstdc++-v3/ChangeLog-2014
re PR libstdc++/61023 (set/map move assignment doesn't move (or copy) the comparator)
authorJonathan Wakely <jwakely@redhat.com>
Wed, 7 May 2014 14:12:37 +0000 (15:12 +0100)
committerJonathan Wakely <redi@gcc.gnu.org>
Wed, 7 May 2014 14:12:37 +0000 (15:12 +0100)
commit2588652e1742e1cf473917d59505632b9ce47ffa
tree3dde1624d4da1307dfe6402beb733365b98d2c00
parente7b7077e4c32c3e08be50204d87e0a8fc97bd7d2
re PR libstdc++/61023 (set/map move assignment doesn't move (or copy) the comparator)

PR libstdc++/61023
* include/bits/stl_tree.h (_Rb_tree::_M_move_assign): Copy the
comparison function.
* testsuite/23_containers/set/cons/61023.cc: New.

From-SVN: r210159
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tree.h
libstdc++-v3/testsuite/23_containers/set/cons/61023.cc [new file with mode: 0644]