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
This commit is contained in:
parent
c8b3a7929b
commit
dbc564aea3
@ -1,3 +1,9 @@
|
||||
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>
|
||||
|
||||
PR libstdc++/23767
|
||||
|
@ -303,8 +303,9 @@ namespace _GLIBCXX_STD
|
||||
: public _Node_alloc_type
|
||||
{
|
||||
_List_node_base _M_node;
|
||||
|
||||
_List_impl(const _Node_alloc_type& __a)
|
||||
: _Node_alloc_type(__a)
|
||||
: _Node_alloc_type(__a), _M_node()
|
||||
{ }
|
||||
};
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user