From 030beaba34912a9249b9219b43c7bdc1359859e6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 6 Jan 2017 20:19:20 +0300 Subject: Fix code style. --- src/gui/cliprect.h | 4 ++-- src/gui/colorpair.h | 2 +- src/gui/rect.h | 6 +++--- 3 files changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui') 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_), -- cgit v1.2.3-70-g09d2