Add new operator >= to SequenceNumber10

This commit is contained in:
Manuel Requena
2012-01-31 10:29:32 +01:00
parent 4e4c7fd90c
commit 1ccd0cd590

View File

@@ -125,6 +125,11 @@ public:
return (!this->operator> (other));
}
bool operator >= (const SequenceNumber10 &other) const
{
return (this->operator> (other) || this->operator== (other));
}
bool operator < (const SequenceNumber10 &other) const
{
return !this->operator> (other) && m_value != other.m_value;