Rect and Point2D didn't have == operator overloadded.
now they have.
Change-Id: I47ec30ae1c2d506ccb2ac8b7bf8867009cf340d4
/**
* @brief TBD
+ * @since_tizen 5.5
+ */
+ inline bool operator==(const Point2D<T>& rhs)
+ {
+ return this->x == rhs.x && this->y == rhs.y;
+ }
+
+ /**
+ * @brief TBD
+ * @since_tizen 5.5
+ */
+ inline bool operator!=(const Point2D<T>& rhs)
+ {
+ return !(*this == rhs);
+ }
+
+ /**
+ * @brief TBD
*/
T x;
* @brief TBD
*/
T y;
-};
\ No newline at end of file
+};
/**
* @brief TBD
+ * @since_tizen 5.5
+ */
+ inline bool operator==(const Rect<T>& rhs)
+ {
+ return this->mTopLeft == rhs.mTopLeft && this->mBottomRight == rhs.mBottomRight;
+ }
+
+ /**
+ * @brief TBD
+ * @since_tizen 5.5
+ */
+ inline bool operator!=(const Rect<T>& rhs){
+ return !(*this == rhs);
+ }
+
+ /**
+ * @brief TBD
*/
Point2D<T> mTopLeft;