summaryrefslogtreecommitdiff
path: root/src/resources/dye
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-23 01:49:01 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-23 01:49:01 +0300
commitb8835bb8f60ebaaedbf474624ffceb1b181c3036 (patch)
tree0153b7eb47d0399c9fe881d96b927f40586ded45 /src/resources/dye
parent6257baccabe0f4477e7d3165e52ddf714dcff540 (diff)
downloadmanaplus-b8835bb8f60ebaaedbf474624ffceb1b181c3036.tar.gz
manaplus-b8835bb8f60ebaaedbf474624ffceb1b181c3036.tar.bz2
manaplus-b8835bb8f60ebaaedbf474624ffceb1b181c3036.tar.xz
manaplus-b8835bb8f60ebaaedbf474624ffceb1b181c3036.zip
Add const attribute to resources.
Diffstat (limited to 'src/resources/dye')
-rw-r--r--src/resources/dye/dyepalette.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/resources/dye/dyepalette.h b/src/resources/dye/dyepalette.h
index 33d16fa50..1269d1511 100644
--- a/src/resources/dye/dyepalette.h
+++ b/src/resources/dye/dyepalette.h
@@ -79,7 +79,8 @@ class DyePalette final
void replaceAOGLColor(uint32_t *restrict pixels,
const int bufSize) const;
- static unsigned int hexDecode(const signed char c) A_WARN_UNUSED;
+ static unsigned int hexDecode(const signed char c)
+ A_CONST A_WARN_UNUSED;
private:
std::vector<DyeColor> mColors;