Donate to e Foundation | Murena handsets with /e/OS | Own a part of Murena! Learn more

Commit ae59abc3 authored by Colin Cross's avatar Colin Cross Committed by android-build-merger
Browse files

Merge "Remove warnings in Rect.h" am: 13996341

am: 671461ed

Change-Id: I435ef0c8c74fee7e843d4b8d4b013772c157187d
parents 87de7617 671461ed
Loading
Loading
Loading
Loading
+0 −4
Original line number Diff line number Diff line
@@ -44,13 +44,9 @@ public:
    template <typename T>
    inline Rect(T w, T h) {
        if (w > INT32_MAX) {
            ALOG(LOG_WARN, "Rect",
                    "Width %u too large for Rect class, clamping", w);
            w = INT32_MAX;
        }
        if (h > INT32_MAX) {
            ALOG(LOG_WARN, "Rect",
                    "Height %u too large for Rect class, clamping", h);
            h = INT32_MAX;
        }
        left = top = 0;