mirror of git://gcc.gnu.org/git/gcc.git
PR libstdc++/23417 (cont)
2005-09-18 Paolo Carlini <pcarlini@suse.de> PR libstdc++/23417 (cont) * include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member initialization list for -Weffc++. From-SVN: r104401
This commit is contained in:
parent
1ed09f0225
commit
3d480e2f81
|
@ -1,3 +1,9 @@
|
|||
2005-09-18 Paolo Carlini <pcarlini@suse.de>
|
||||
|
||||
PR libstdc++/23417 (cont)
|
||||
* include/bits/stl_tree.h (_Rb_tree_impl<true>): Use member
|
||||
initialization list for -Weffc++.
|
||||
|
||||
2005-09-16 Janis Johnson <janis187@us.ibm.com>
|
||||
|
||||
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
|
||||
|
|
|
@ -424,7 +424,8 @@ namespace std
|
|||
|
||||
_Rb_tree_impl(const _Node_allocator& __a = _Node_allocator(),
|
||||
const _Key_compare& __comp = _Key_compare())
|
||||
: _Node_allocator(__a), _M_key_compare(__comp), _M_node_count(0)
|
||||
: _Node_allocator(__a), _M_key_compare(__comp), _M_header(),
|
||||
_M_node_count(0)
|
||||
{
|
||||
this->_M_header._M_color = _S_red;
|
||||
this->_M_header._M_parent = 0;
|
||||
|
|
Loading…
Reference in New Issue