aboutsummaryrefslogtreecommitdiff
path: root/libstdc++-v3/include/ext
diff options
context:
space:
mode:
authorBenjamin Kosnik <bkoz@redhat.com>2004-09-02 18:22:20 +0000
committerBenjamin Kosnik <bkoz@redhat.com>2004-09-02 18:22:20 +0000
commitce8ca0c73d1ab248d39e873dfba7db438590e8b3 (patch)
treea50fabae2580d2542a6bbc9b556676bb681231bd /libstdc++-v3/include/ext
parenta6dc531723bbacd24fb9abb1c549c88aa5a8f5a3 (diff)
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. git-svn-id: https://gcc.gnu.org/svn/gcc/trunk@86973 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'libstdc++-v3/include/ext')
-rw-r--r--libstdc++-v3/include/ext/ropeimpl.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libstdc++-v3/include/ext/ropeimpl.h b/libstdc++-v3/include/ext/ropeimpl.h
index 7463196c0e9..51877699cb5 100644
--- a/libstdc++-v3/include/ext/ropeimpl.h
+++ b/libstdc++-v3/include/ext/ropeimpl.h
@@ -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,