re PR libstdc++/17259 (One more _S_leaf incorrectly qualified with _RopeRep:: in...
authorBenjamin Kosnik <bkoz@redhat.com>
Thu, 2 Sep 2004 18:22:20 +0000 (18:22 +0000)
committerBenjamin Kosnik <bkoz@gcc.gnu.org>
Thu, 2 Sep 2004 18:22:20 +0000 (18:22 +0000)
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

libstdc++-v3/ChangeLog
libstdc++-v3/include/ext/ropeimpl.h

index aff78de24366ea676f753d1013562c85b02086c4..73132177677d6d6088b1278a6b17e2506fd08e3b 100644 (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
index 7463196c0e93380441eb1236d90512e89e7c77f6..51877699cb53cd4495983a9d0d61061a85517896 100644 (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,