summaryrefslogtreecommitdiff
path: root/src/gui
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2017-01-06 20:19:20 +0300
committerAndrei Karas <akaras@inbox.ru>2017-01-06 20:19:20 +0300
commit030beaba34912a9249b9219b43c7bdc1359859e6 (patch)
tree40e4cef8856bdc9e3401eed98dc69a27c758dca2 /src/gui
parentaaacae5e2907e21ff7c0505fd4e48442ac809136 (diff)
downloadmv-030beaba34912a9249b9219b43c7bdc1359859e6.tar.gz
mv-030beaba34912a9249b9219b43c7bdc1359859e6.tar.bz2
mv-030beaba34912a9249b9219b43c7bdc1359859e6.tar.xz
mv-030beaba34912a9249b9219b43c7bdc1359859e6.zip
Fix code style.
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_),