diff --git a/src/Util/Rectangle.h b/src/Util/Rectangle.h index 7e55659..0d0db32 100644 --- a/src/Util/Rectangle.h +++ b/src/Util/Rectangle.h @@ -66,9 +66,9 @@ inline bool operator!=(const Rectangle &lhs, const Rectangle &rhs) return !(lhs == rhs); } -inline bool operator<(const Rectangle &lhs, const Rectangle &lhs) +inline bool operator<(const Rectangle &lhs, const Rectangle &rhs) { - return (lhs.Width < lhs.Width) && (lhs.Height < lhs.Height); + return (lhs.Width < rhs.Width) && (lhs.Height < rhs.Height); } inline bool operator>(const Rectangle &lhs, const Rectangle &rhs)