Commit 06ce7726 by Benjamin Kosnik Committed by Benjamin Kosnik

re PR libstdc++/14783 (Warning in std::set constructor at bits/stl_tree.h:403)

2004-03-30  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/14783
	* include/bits/stl_tree.h: Adjust initialization list order.

From-SVN: r80095
parent 0af5da7f
2004-03-30 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/14783
* include/bits/stl_tree.h: Adjust initialization list order.
2004-03-29 Loren J. Rittle <ljrittle@acm.org>
* testsuite/thread/pthread7-rope.cc: Update comment to reflect test.
......
......@@ -399,7 +399,7 @@ namespace std
_Rb_tree_impl(const _Node_allocator& __a = _Node_allocator(),
const _Key_compare& __comp = _Key_compare())
: _Node_allocator(__a), _M_node_count(0), _M_key_compare(__comp)
: _Node_allocator(__a), _M_key_compare(__comp), _M_node_count(0)
{
this->_M_header._M_color = _S_red;
this->_M_header._M_parent = 0;
......
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