From 05b25b1a5420f1c38cfd39a73c6c0442c8d17464 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Mon, 1 Jun 2015 01:14:16 +0300 Subject: Fix again build without C++11 flag. --- src/gui/userpalette.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/userpalette.h') diff --git a/src/gui/userpalette.h b/src/gui/userpalette.h index 22203560c..1a7af763b 100644 --- a/src/gui/userpalette.h +++ b/src/gui/userpalette.h @@ -183,7 +183,7 @@ class UserPalette final : public Palette, public ListModel * * @return the gradient type of the color with the given index */ - inline GradientTypeT getGradientType(const UserColorId type) + inline GradientTypeT getGradientType(const UserColorIdT type) const A_WARN_UNUSED { return mColors[static_cast(type)].grad; } -- cgit v1.2.3-70-g09d2