From b8835bb8f60ebaaedbf474624ffceb1b181c3036 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Wed, 23 Dec 2015 01:49:01 +0300 Subject: Add const attribute to resources. --- src/resources/dye/dyepalette.h | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/resources/dye/dyepalette.h') 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 mColors; -- cgit v1.2.3-60-g2f50