diff options
author | Andrei Karas <akaras@inbox.ru> | 2015-12-24 02:04:19 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2015-12-24 02:04:19 +0300 |
commit | 2a6d489d8c576988cddaabb8bd5f7e1647ba81e0 (patch) | |
tree | a221fbb328374887d189e2c1115a9eda278face5 /src/gui/fonts/textchunksmall.h | |
parent | 080d5b0432549af7739cab604315f08c41ee26a3 (diff) | |
download | manaplus-2a6d489d8c576988cddaabb8bd5f7e1647ba81e0.tar.gz manaplus-2a6d489d8c576988cddaabb8bd5f7e1647ba81e0.tar.bz2 manaplus-2a6d489d8c576988cddaabb8bd5f7e1647ba81e0.tar.xz manaplus-2a6d489d8c576988cddaabb8bd5f7e1647ba81e0.zip |
Add restrict keyword in textchunksmall.
Diffstat (limited to 'src/gui/fonts/textchunksmall.h')
-rw-r--r-- | src/gui/fonts/textchunksmall.h | 12 |
1 files changed, 6 insertions, 6 deletions
diff --git a/src/gui/fonts/textchunksmall.h b/src/gui/fonts/textchunksmall.h index fcf7931ba..cf0277547 100644 --- a/src/gui/fonts/textchunksmall.h +++ b/src/gui/fonts/textchunksmall.h @@ -30,14 +30,14 @@ class TextChunkSmall final { public: - TextChunkSmall(const std::string &text0, - const Color &color0, - const Color &color1); + TextChunkSmall(const std::string &restrict text0, + const Color &restrict color0, + const Color &restrict color1); - TextChunkSmall(const TextChunkSmall &old); + TextChunkSmall(const TextChunkSmall &restrict old); - bool operator==(const TextChunkSmall &chunk) const; - bool operator<(const TextChunkSmall &chunk) const; + bool operator==(const TextChunkSmall &restrict chunk) const restrict; + bool operator<(const TextChunkSmall &restrict chunk) const restrict; std::string text; Color color; |