diff options
Diffstat (limited to 'src/gui/cliprect.h')
-rw-r--r-- | src/gui/cliprect.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/gui/cliprect.h b/src/gui/cliprect.h index bb8a1257e..149420b8c 100644 --- a/src/gui/cliprect.h +++ b/src/gui/cliprect.h @@ -80,7 +80,7 @@ class ClipRect final : public Rect /** * Constructor. */ - constexpr ClipRect() : + ClipRect() : Rect(0, 0, 0, 0), xOffset(0), yOffset(0) @@ -101,7 +101,7 @@ class ClipRect final : public Rect * calculating the actual screen coordinate from * the relative screen coordinate. */ - constexpr ClipRect(const int x0, + ClipRect(const int x0, const int y0, const int width0, const int height0, |