summaryrefslogtreecommitdiff
path: root/src/gui/fonts/textchunklist.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-24 01:44:47 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-24 01:44:47 +0300
commit080d5b0432549af7739cab604315f08c41ee26a3 (patch)
tree1c52c54beb400a0c5eab9ba7fe669fd4ee52f52b /src/gui/fonts/textchunklist.h
parent8cf035f1eded9e002d73353fa7087902f092cf1f (diff)
downloadmanaplus-080d5b0432549af7739cab604315f08c41ee26a3.tar.gz
manaplus-080d5b0432549af7739cab604315f08c41ee26a3.tar.bz2
manaplus-080d5b0432549af7739cab604315f08c41ee26a3.tar.xz
manaplus-080d5b0432549af7739cab604315f08c41ee26a3.zip
Add restrict keyword in textchunklist.
Diffstat (limited to 'src/gui/fonts/textchunklist.h')
-rw-r--r--src/gui/fonts/textchunklist.h16
1 files changed, 8 insertions, 8 deletions
diff --git a/src/gui/fonts/textchunklist.h b/src/gui/fonts/textchunklist.h
index f1bfc3fe6..f9cf97b92 100644
--- a/src/gui/fonts/textchunklist.h
+++ b/src/gui/fonts/textchunklist.h
@@ -36,20 +36,20 @@ class TextChunkList final
A_DELETE_COPY(TextChunkList)
- void insertFirst(TextChunk *const item) A_NONNULL(2);
+ void insertFirst(TextChunk *restrict const item) restrict A_NONNULL(2);
- void moveToFirst(TextChunk *const item) A_NONNULL(2);
+ void moveToFirst(TextChunk *restrict const item) restrict A_NONNULL(2);
- void remove(const TextChunk *const item);
+ void remove(const TextChunk *restrict const item) restrict;
- void removeBack();
+ void removeBack() restrict;
- void removeBack(int n);
+ void removeBack(int n) restrict;
- void clear();
+ void clear() restrict;
- TextChunk *start;
- TextChunk *end;
+ TextChunk *restrict start;
+ TextChunk *restrict end;
uint32_t size;
std::map<TextChunkSmall, TextChunk*> search;
std::map<std::string, TextChunk*> searchWidth;