From 2ac52bceeef94fd384b1cc67c81ab6fe14a7fa70 Mon Sep 17 00:00:00 2001 From: Frerich Raabe Date: Wed, 10 Mar 2004 13:06:14 +0000 Subject: [PATCH] - ByteVector::operator> seemed flawed to me git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@294934 283d02a7-25f6-0310-bc7c-ecb5cbfe19da --- toolkit/tbytevector.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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