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

Commit 5a8d6f44 authored by Mathias Agopian's avatar Mathias Agopian
Browse files

return bounds Rect by value

parent 8f78faa1
Loading
Loading
Loading
Loading
+2 −2
Original line number Diff line number Diff line
@@ -48,8 +48,8 @@ public:
    inline  bool        isEmpty() const     { return mBounds.isEmpty();  }
    inline  bool        isRect() const      { return mStorage.isEmpty(); }

    inline  const Rect& getBounds() const   { return mBounds; }
    inline  const Rect& bounds() const      { return getBounds(); }
    inline  Rect        getBounds() const   { return mBounds; }
    inline  Rect        bounds() const      { return getBounds(); }

            void        clear();
            void        set(const Rect& r);