diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-17 19:20:26 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-17 19:20:26 +0300 |
commit | fc0c65bbf1b297431f77e1a91dcdb528e38ff0fb (patch) | |
tree | a8697ad34e2915aa829a996f61a83c719be50999 /src/gui/theme.cpp | |
parent | ac51e9e9d85ef6a590b6ed0e4491056b38169d78 (diff) | |
download | ManaVerse-fc0c65bbf1b297431f77e1a91dcdb528e38ff0fb.tar.gz ManaVerse-fc0c65bbf1b297431f77e1a91dcdb528e38ff0fb.tar.bz2 ManaVerse-fc0c65bbf1b297431f77e1a91dcdb528e38ff0fb.tar.xz ManaVerse-fc0c65bbf1b297431f77e1a91dcdb528e38ff0fb.zip |
add restrict into theme.
Diffstat (limited to 'src/gui/theme.cpp')
-rw-r--r-- | src/gui/theme.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/gui/theme.cpp b/src/gui/theme.cpp index fb69dce3b..183ef13a6 100644 --- a/src/gui/theme.cpp +++ b/src/gui/theme.cpp @@ -60,10 +60,10 @@ static void initDefaultThemePath() defaultThemePath = "themes/"; } -Skin::Skin(ImageRect *skin, const ImageRect *images, +Skin::Skin(ImageRect *restrict skin, const ImageRect *restrict images, const std::string &filePath, const std::string &name, const int padding, const int titlePadding, - std::map<std::string, int> *const options): + std::map<std::string, int> *restrict const options): instances(1), mFilePath(filePath), mName(name), @@ -276,7 +276,7 @@ gcn::Color Theme::getProgressColor(const int type, const float progress) } Skin *Theme::load(const std::string &filename, const std::string &filename2, - const bool full, const std::string &defaultPath) + const bool full, const std::string &restrict defaultPath) { // Check if this skin was already loaded |