mirror of
https://gcc.gnu.org/git/gcc.git
synced 2024-11-30 07:14:09 +08:00
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
This commit is contained in:
parent
0af5da7fb0
commit
06ce772609
@ -1,3 +1,8 @@
|
||||
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;
|
||||
|
Loading…
Reference in New Issue
Block a user