Commit 4f28d159 by Markus Trippelsdorf Committed by Markus Trippelsdorf

Fix PR80183 : _M_color not moved

	PR libstdc++/80183
	* include/bits/stl_tree.h:
	(_Rb_tree_header::_M_move_data(_Rb_tree_header&)): Also save _M_color.

From-SVN: r246483
parent 353a1e29
2017-03-26 Markus Trippelsdorf <markus@trippelsdorf.de>
PR libstdc++/80183
* include/bits/stl_tree.h:
(_Rb_tree_header::_M_move_data(_Rb_tree_header&)): Also save _M_color.
2017-03-23 Jonathan Wakely <jwakely@redhat.com>
* testsuite/23_containers/array/tuple_interface/
......
......@@ -192,6 +192,7 @@ _GLIBCXX_BEGIN_NAMESPACE_VERSION
void
_M_move_data(_Rb_tree_header& __from)
{
_M_header._M_color = __from._M_header._M_color;
_M_header._M_parent = __from._M_header._M_parent;
_M_header._M_left = __from._M_header._M_left;
_M_header._M_right = __from._M_header._M_right;
......
Markdown is supported
0% or
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment