PR libstdc++/82966 fix swapping of node handles
commitb267855d7861e839aef9c28959171322f308f586
authorredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2018 14:27:54 +0000 (14 14:27 +0000)
committerredi <redi@138bc75d-0d04-0410-961f-82ee72b054a4>
Mon, 14 May 2018 14:27:54 +0000 (14 14:27 +0000)
treeac86e926ee8a81907d2dd9cf0ad407c6890a0eab
parentecd752b4e450935af9666165ef79cdc02582f685
PR libstdc++/82966 fix swapping of node handles

PR libstdc++/82966
* include/bits/node_handle.h (_Node_handle_common::_M_swap): Use value
instead of type.
* testsuite/23_containers/set/modifiers/node_swap.cc: New.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@260226 138bc75d-0d04-0410-961f-82ee72b054a4
libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/node_handle.h
libstdc++-v3/testsuite/23_containers/set/modifiers/node_swap.cc [new file with mode: 0644]