2004-09-02 Benjamin Kosnik <bkoz@redhat.com>
authorbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Sep 2004 18:22:20 +0000 (18:22 +0000)
committerbkoz <bkoz@138bc75d-0d04-0410-961f-82ee72b054a4>
Thu, 2 Sep 2004 18:22:20 +0000 (18:22 +0000)
            Leland Wang  <llwang@infor.org>

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

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

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

index aff78de..7313217 100644 (file)
@@ -1,4 +1,11 @@
 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
        * include/Makefile.am (ext_headers): Remove demangle.h.
index 7463196..5187769 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,