diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-06-01 01:14:16 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-06-01 01:14:16 +0300 |
commit | 05b25b1a5420f1c38cfd39a73c6c0442c8d17464 (patch) | |
tree | 880b9e4d870dd3f1cb21b769a8e8a626adf5f094 /src/gui/userpalette.h | |
parent | 9065e16b0bdbe5cb2eb8b4e5e5cfc60267a79a33 (diff) | |
download | manaplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.gz manaplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.bz2 manaplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.tar.xz manaplus-05b25b1a5420f1c38cfd39a73c6c0442c8d17464.zip |
Fix again build without C++11 flag.
Diffstat (limited to 'src/gui/userpalette.h')
-rw-r--r-- | src/gui/userpalette.h | 2 |
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; } |