public inbox for gcc@gcc.gnu.org
 help / color / mirror / Atom feed
* egcs-971016/libstdc++/stl/tree.h patch
@ 1997-10-17 13:57 Greg Galloway
  0 siblings, 0 replies; only message in thread
From: Greg Galloway @ 1997-10-17 13:57 UTC (permalink / raw)
  To: egcs

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) { 

^ permalink raw reply	[flat|nested] only message in thread

only message in thread, other threads:[~1997-10-17 13:57 UTC | newest]

Thread overview: (only message) (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
1997-10-17 13:57 egcs-971016/libstdc++/stl/tree.h patch Greg Galloway

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox;
as well as URLs for read-only IMAP folder(s) and NNTP newsgroup(s).