diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-12-10 19:38:50 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-12-10 19:38:50 +0300 |
commit | 7e53a47d6f3e2dfb1446384e674f9d391bd23f7a (patch) | |
tree | fc70f25f54b3111af649d951eafbff4a2d1b2e4b /src/resources/dye/dye.cpp | |
parent | 7789f85902979a3ce1282449af0236079d9925a2 (diff) | |
download | manaverse-7e53a47d6f3e2dfb1446384e674f9d391bd23f7a.tar.gz manaverse-7e53a47d6f3e2dfb1446384e674f9d391bd23f7a.tar.bz2 manaverse-7e53a47d6f3e2dfb1446384e674f9d391bd23f7a.tar.xz manaverse-7e53a47d6f3e2dfb1446384e674f9d391bd23f7a.zip |
Add restrict and noexcept in dye and dyepalette.
Diffstat (limited to 'src/resources/dye/dye.cpp')
-rw-r--r-- | src/resources/dye/dye.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/resources/dye/dye.cpp b/src/resources/dye/dye.cpp index eac52f638..789c711c4 100644 --- a/src/resources/dye/dye.cpp +++ b/src/resources/dye/dye.cpp @@ -141,7 +141,7 @@ void Dye::instantiate(std::string &restrict target, target = s.str(); } -int Dye::getType() const restrict2 +int Dye::getType() const restrict2 noexcept2 { if (mDyePalettes[sPaleteIndex]) return 1; |