Commit dbc564ae by Benjamin Kosnik Committed by Benjamin Kosnik

re PR libstdc++/23417 (bits/stl_tree.h isn't -Weffc++ clean)


2005-09-12  Benjamin Kosnik  <bkoz@redhat.com>

	PR libstdc++/23417
	* include/bits/stl_list.h (_List_impl): Use member initialization
	list for -Weffc++.

From-SVN: r104187
parent c8b3a792
2005-09-12 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/23417
* include/bits/stl_list.h (_List_impl): Use member initialization
list for -Weffc++.
2005-09-12 Paolo Carlini <pcarlini@suse.de> 2005-09-12 Paolo Carlini <pcarlini@suse.de>
PR libstdc++/23767 PR libstdc++/23767
......
...@@ -303,8 +303,9 @@ namespace _GLIBCXX_STD ...@@ -303,8 +303,9 @@ namespace _GLIBCXX_STD
: public _Node_alloc_type : public _Node_alloc_type
{ {
_List_node_base _M_node; _List_node_base _M_node;
_List_impl(const _Node_alloc_type& __a) _List_impl(const _Node_alloc_type& __a)
: _Node_alloc_type(__a) : _Node_alloc_type(__a), _M_node()
{ } { }
}; };
......
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