summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/gui/colorpair.h7
1 files changed, 4 insertions, 3 deletions
diff --git a/src/gui/colorpair.h b/src/gui/colorpair.h
index 2eea3898a..75f454ff6 100644
--- a/src/gui/colorpair.h
+++ b/src/gui/colorpair.h
@@ -27,14 +27,15 @@ class Color;
struct ColorPair final
{
- ColorPair(const Color* c1, const Color* c2) :
+ constexpr ColorPair(const Color *const c1,
+ const Color *const c2) :
color1(c1),
color2(c2)
{
}
- const Color* color1;
- const Color* color2;
+ const Color *const color1;
+ const Color *const color2;
};
#endif // GUI_COLORPAIR_H