summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
Diffstat (limited to 'src/gui')
-rw-r--r--src/gui/cliprect.h4
-rw-r--r--src/gui/colorpair.h2
-rw-r--r--src/gui/rect.h6
3 files changed, 6 insertions, 6 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,
diff --git a/src/gui/colorpair.h b/src/gui/colorpair.h
index 29981bd60..d4ef13656 100644
--- a/src/gui/colorpair.h
+++ b/src/gui/colorpair.h
@@ -28,7 +28,7 @@ class Color;
struct ColorPair final
{
constexpr ColorPair(const Color *const c1,
- const Color *const c2) :
+ const Color *const c2) :
color1(c1),
color2(c2)
{
diff --git a/src/gui/rect.h b/src/gui/rect.h
index 994886e92..303781354 100644
--- a/src/gui/rect.h
+++ b/src/gui/rect.h
@@ -93,9 +93,9 @@ class Rect notfinal
* @param height_ The height of the rectangle.
*/
constexpr Rect(const int x_,
- const int y_,
- const int width_,
- const int height_) :
+ const int y_,
+ const int width_,
+ const int height_) :
x(x_),
y(y_),
width(width_),