diff options
author | Benjamin Kosnik <bkoz@redhat.com> | 2004-03-30 21:04:19 +0000 |
---|---|---|
committer | Benjamin Kosnik <bkoz@gcc.gnu.org> | 2004-03-30 21:04:19 +0000 |
commit | 06ce772609f34249723fe45a49d9681827101aac (patch) | |
tree | 97e58871bb3c4f324f21ebfb48e825c9157dc855 | |
parent | 0af5da7fb02b22c775094c868ea907b69ec7a3c1 (diff) | |
download | gcc-06ce772609f34249723fe45a49d9681827101aac.zip gcc-06ce772609f34249723fe45a49d9681827101aac.tar.gz gcc-06ce772609f34249723fe45a49d9681827101aac.tar.bz2 |
re PR libstdc++/14783 (Warning in std::set constructor at bits/stl_tree.h:403)
2004-03-30 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/14783
* include/bits/stl_tree.h: Adjust initialization list order.
From-SVN: r80095
-rw-r--r-- | libstdc++-v3/ChangeLog | 5 | ||||
-rw-r--r-- | libstdc++-v3/include/bits/stl_tree.h | 2 |
2 files changed, 6 insertions, 1 deletions
diff --git a/libstdc++-v3/ChangeLog b/libstdc++-v3/ChangeLog index 2d6cc33..d78e3a9 100644 --- a/libstdc++-v3/ChangeLog +++ b/libstdc++-v3/ChangeLog @@ -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. diff --git a/libstdc++-v3/include/bits/stl_tree.h b/libstdc++-v3/include/bits/stl_tree.h index 6769873..ac9add8 100644 --- a/libstdc++-v3/include/bits/stl_tree.h +++ b/libstdc++-v3/include/bits/stl_tree.h @@ -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; |