Nothing special

This commit is contained in:
momo5502
2016-05-14 02:00:04 +02:00
parent 49e92228e7
commit 1842366f56
5 changed files with 12 additions and 8 deletions

View File

@ -59,7 +59,7 @@ namespace Utils
return !(*this == token);
}
bool operator< (const Token& token) const
bool operator<(const Token& token) const
{
if (*this == token)
{
@ -90,17 +90,17 @@ namespace Utils
return false;
}
bool operator> (const Token& token) const
bool operator>(const Token& token) const
{
return (token < *this && *this != token);
}
bool operator<= (const Token& token) const
bool operator<=(const Token& token) const
{
return !(*this > token);
}
bool operator>= (const Token& token) const
bool operator>=(const Token& token) const
{
return !(*this < token);
}