diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:49:01 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-23 01:49:01 +0300 |
commit | b8835bb8f60ebaaedbf474624ffceb1b181c3036 (patch) | |
tree | 0153b7eb47d0399c9fe881d96b927f40586ded45 /src/resources/dye | |
parent | 6257baccabe0f4477e7d3165e52ddf714dcff540 (diff) | |
download | mv-b8835bb8f60ebaaedbf474624ffceb1b181c3036.tar.gz mv-b8835bb8f60ebaaedbf474624ffceb1b181c3036.tar.bz2 mv-b8835bb8f60ebaaedbf474624ffceb1b181c3036.tar.xz mv-b8835bb8f60ebaaedbf474624ffceb1b181c3036.zip |
Add const attribute to resources.
Diffstat (limited to 'src/resources/dye')
-rw-r--r-- | src/resources/dye/dyepalette.h | 3 |
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; |