diff options
author | Andrei Karas <akaras@inbox.ru> | 2013-12-18 00:37:05 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2013-12-18 00:37:05 +0300 |
commit | d949db27719aeb5724e03536f7e86721bb78d78e (patch) | |
tree | 7808767bd1a0bf14a22747bafcc1e5790cf91329 /src/resources | |
parent | 569f5dc5f7de2ec275ee08c54cede72981be4f62 (diff) | |
download | manaverse-d949db27719aeb5724e03536f7e86721bb78d78e.tar.gz manaverse-d949db27719aeb5724e03536f7e86721bb78d78e.tar.bz2 manaverse-d949db27719aeb5724e03536f7e86721bb78d78e.tar.xz manaverse-d949db27719aeb5724e03536f7e86721bb78d78e.zip |
add restrict into atlasmanager.
Diffstat (limited to 'src/resources')
-rw-r--r-- | src/resources/atlasmanager.cpp | 6 | ||||
-rw-r--r-- | src/resources/atlasmanager.h | 6 |
2 files changed, 6 insertions, 6 deletions
diff --git a/src/resources/atlasmanager.cpp b/src/resources/atlasmanager.cpp index 1fe2ff248..f1a67bfe5 100644 --- a/src/resources/atlasmanager.cpp +++ b/src/resources/atlasmanager.cpp @@ -131,9 +131,9 @@ void AtlasManager::loadImages(const StringVect &files, } } -void AtlasManager::simpleSort(const std::string &name, - std::vector<TextureAtlas*> &atlases, - std::vector<Image*> &images, int size) +void AtlasManager::simpleSort(const std::string &restrict name, + std::vector<TextureAtlas*> &restrict atlases, + std::vector<Image*> &restrict images, int size) { int x = 0; int y = 0; diff --git a/src/resources/atlasmanager.h b/src/resources/atlasmanager.h index bf95c5d1c..afd153602 100644 --- a/src/resources/atlasmanager.h +++ b/src/resources/atlasmanager.h @@ -112,9 +112,9 @@ class AtlasManager final static void loadImages(const StringVect &files, std::vector<Image*> &images); - static void simpleSort(const std::string &name, - std::vector<TextureAtlas*> &atlases, - std::vector<Image*> &images, int size); + static void simpleSort(const std::string &restrict name, + std::vector<TextureAtlas*> &restrict atlases, + std::vector<Image*> &restrict images, int size); static SDL_Surface *createSDLAtlas(TextureAtlas *const atlas) A_WARN_UNUSED; |