- ByteVector::operator> seemed flawed to me

git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@294934 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
Frerich Raabe 2004-03-10 13:06:14 +00:00
parent d6aeb26c98
commit 2ac52bceee

View File

@ -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