OSDN Git Service

2004-03-30 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Mar 2004 21:04:19 +0000 (21:04 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Tue, 30 Mar 2004 21:04:19 +0000 (21:04 +0000)
PR libstdc++/14783
* include/bits/stl_tree.h: Adjust initialization list order.

git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@80095 138bc75d-0d04-0410-961f-82ee72b054a4

libstdc++-v3/ChangeLog
libstdc++-v3/include/bits/stl_tree.h

index 2d6cc33..d78e3a9 100644 (file)
@@ -1,3 +1,8 @@
+2004-03-30  Benjamin Kosnik  <bkoz@redhat.com>
+
+       PR libstdc++/14783
+       * include/bits/stl_tree.h: Adjust initialization list order.
+
 2004-03-29  Loren J. Rittle  <ljrittle@acm.org>
 
        * testsuite/thread/pthread7-rope.cc: Update comment to reflect test.
index 6769873..ac9add8 100644 (file)
@@ -399,7 +399,7 @@ namespace std
 
          _Rb_tree_impl(const _Node_allocator& __a = _Node_allocator(),
                        const _Key_compare& __comp = _Key_compare())
-         : _Node_allocator(__a), _M_node_count(0), _M_key_compare(__comp)
+         : _Node_allocator(__a), _M_key_compare(__comp), _M_node_count(0)
          {
            this->_M_header._M_color = _S_red;
            this->_M_header._M_parent = 0;