re PR libstdc++/17259 (One more _S_leaf incorrectly qualified with _RopeRep:: in ropeimpl.h)

2004-09-02  Benjamin Kosnik  <bkoz@redhat.com>
            Leland Wang  <llwang@infor.org>

	PR libstdc++/17259
	* include/ext/ropeimpl.h (rope::_S_compare): Use
	_Rope_constants::_S_leaf.

Co-Authored-By: Leland Wang <llwang@infor.org>

From-SVN: r86973
This commit is contained in:
Benjamin Kosnik 2004-09-02 18:22:20 +00:00 committed by Benjamin Kosnik
parent 10060b8391
commit 35dc4c015a
2 changed files with 8 additions and 1 deletions

View File

@ -1,3 +1,10 @@
2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
Leland Wang <llwang@infor.org>
PR libstdc++/17259
* include/ext/ropeimpl.h (rope::_S_compare): Use
_Rope_constants::_S_leaf.
2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
PR libstdc++/16848

View File

@ -1438,7 +1438,7 @@ namespace __gnu_cxx
if (_Rope_constants::_S_leaf == __left->_M_tag)
{
_RopeLeaf* __l = (_RopeLeaf*) __left;
if (_RopeRep::_S_leaf == __right->_M_tag)
if (_Rope_constants::_S_leaf == __right->_M_tag)
{
_RopeLeaf* __r = (_RopeLeaf*) __right;
return lexicographical_compare_3way(__l->_M_data,