Commit 3d480e2f by Paolo Carlini

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
parent 1ed09f02
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> 2005-09-16 Janis Johnson <janis187@us.ibm.com>
* testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc: * testsuite/27_io/basic_ostream/inserters_arithmetic/char/23871.cc:
......
...@@ -424,7 +424,8 @@ namespace std ...@@ -424,7 +424,8 @@ namespace std
_Rb_tree_impl(const _Node_allocator& __a = _Node_allocator(), _Rb_tree_impl(const _Node_allocator& __a = _Node_allocator(),
const _Key_compare& __comp = _Key_compare()) 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_color = _S_red;
this->_M_header._M_parent = 0; 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