summaryrefslogtreecommitdiff
path: root/src/resources/dye/dyepalette.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-12-10 19:38:50 +0300
committerAndrei Karas <akaras@inbox.ru>2016-12-10 19:38:50 +0300
commit7e53a47d6f3e2dfb1446384e674f9d391bd23f7a (patch)
treefc70f25f54b3111af649d951eafbff4a2d1b2e4b /src/resources/dye/dyepalette.h
parent7789f85902979a3ce1282449af0236079d9925a2 (diff)
downloadplus-7e53a47d6f3e2dfb1446384e674f9d391bd23f7a.tar.gz
plus-7e53a47d6f3e2dfb1446384e674f9d391bd23f7a.tar.bz2
plus-7e53a47d6f3e2dfb1446384e674f9d391bd23f7a.tar.xz
plus-7e53a47d6f3e2dfb1446384e674f9d391bd23f7a.zip
Add restrict and noexcept in dye and dyepalette.
Diffstat (limited to 'src/resources/dye/dyepalette.h')
-rw-r--r--src/resources/dye/dyepalette.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/dye/dyepalette.h b/src/resources/dye/dyepalette.h
index f7258b4ec..5f71180de 100644
--- a/src/resources/dye/dyepalette.h
+++ b/src/resources/dye/dyepalette.h
@@ -84,11 +84,11 @@ class DyePalette final
const int bufSize) const restrict2;
static unsigned int hexDecode(const signed char c)
- A_CONST A_WARN_UNUSED;
+ noexcept2 A_CONST A_WARN_UNUSED;
- static void hexToColor(const std::string &hexStr,
+ static void hexToColor(const std::string &restrict hexStr,
const uint8_t blockSize,
- DyeColor &color);
+ DyeColor &color) noexcept2;
#ifndef UNITTESTS
private: