From 7e53a47d6f3e2dfb1446384e674f9d391bd23f7a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 10 Dec 2016 19:38:50 +0300 Subject: Add restrict and noexcept in dye and dyepalette. --- src/resources/dye/dye.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/resources/dye/dye.cpp') 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; -- cgit v1.2.3-70-g09d2