From: Frerich Raabe Date: Wed, 10 Mar 2004 13:06:14 +0000 (+0000) Subject: - ByteVector::operator> seemed flawed to me X-Git-Tag: v1.5~427 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=2ac52bceeef94fd384b1cc67c81ab6fe14a7fa70;p=taglib - ByteVector::operator> seemed flawed to me git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@294934 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- diff --git a/toolkit/tbytevector.cpp b/toolkit/tbytevector.cpp index 386deb50..28d31ed0 100644 --- a/toolkit/tbytevector.cpp +++ b/toolkit/tbytevector.cpp @@ -545,7 +545,7 @@ bool ByteVector::operator<(const ByteVector &v) const bool ByteVector::operator>(const ByteVector &v) const { - return !operator<(v); + return v < *this; } ByteVector ByteVector::operator+(const ByteVector &v) const