summaryrefslogtreecommitdiff
path: root/src/gui/userpalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-06-01 01:14:16 +0300
committerAndrei Karas <akaras@inbox.ru>2015-06-01 01:14:16 +0300
commit05b25b1a5420f1c38cfd39a73c6c0442c8d17464 (patch)
tree880b9e4d870dd3f1cb21b769a8e8a626adf5f094 /src/gui/userpalette.h
parent9065e16b0bdbe5cb2eb8b4e5e5cfc60267a79a33 (diff)
downloadplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.gz
plus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.bz2
plus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.xz
plus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.zip
Fix again build without C++11 flag.
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r--src/gui/userpalette.h2
1 files changed, 1 insertions, 1 deletions
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<size_t>(type)].grad; }