egcs-971016/libstdc++/stl/tree.h patch
Greg Galloway
gregg@eoeml.gtri.gatech.edu
Fri Oct 17 13:57:00 GMT 1997
Fri Oct 17 13:14:04 EDT 1997 Gregory L. Galloway <gregg@eoeml.gtri.gatech.edu>
* tree.h(rb_tree): Member initializers reordered to match declaration
order and suppress compiler warning.
*** libstdc++/stl/tree.h.orig Fri Oct 17 13:11:28 1997
--- libstdc++/stl/tree.h Fri Oct 17 13:12:32 1997
***************
*** 523,529 ****
public:
// allocation/deallocation
rb_tree(const Compare& comp = Compare())
! : key_compare(comp), node_count(0) { init(); }
rb_tree(const rb_tree<Key, Value, KeyOfValue, Compare, Alloc>& x)
: key_compare(x.key_compare), node_count(0) {
--- 523,529 ----
public:
// allocation/deallocation
rb_tree(const Compare& comp = Compare())
! : node_count(0), key_compare(comp) { init(); }
rb_tree(const rb_tree<Key, Value, KeyOfValue, Compare, Alloc>& x)
: key_compare(x.key_compare), node_count(0) {
More information about the Gcc
mailing list