From 2a6d489d8c576988cddaabb8bd5f7e1647ba81e0 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 24 Dec 2015 02:04:19 +0300 Subject: Add restrict keyword in textchunksmall. --- src/gui/fonts/textchunksmall.h | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'src/gui/fonts/textchunksmall.h') 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; -- cgit v1.2.3-70-g09d2