From f0f4f43d1263f946be23b75de4de28a4731cc93a Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Dec 2015 00:31:58 +0300 Subject: Add restrict keyword into graphicsdef.hpp --- src/render/imagegraphics.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'src/render/imagegraphics.h') diff --git a/src/render/imagegraphics.h b/src/render/imagegraphics.h index f9ace972a..43b3a739e 100644 --- a/src/render/imagegraphics.h +++ b/src/render/imagegraphics.h @@ -60,7 +60,7 @@ class ImegeGraphics final : public Graphics void pushClipArea(const Rect &rect A_UNUSED) override final { } - void popClipArea() override final + void popClipArea() restrict2 override final { } void drawRescaledImage(const Image *const image A_UNUSED, @@ -161,14 +161,14 @@ class ImegeGraphics final : public Graphics const int bpp A_UNUSED, const bool fs A_UNUSED, const bool hwaccel A_UNUSED, const bool resize A_UNUSED, - const bool noFrame A_UNUSED) override final + const bool noFrame A_UNUSED) restrict2 override final { return false; } void drawImage(const Image *const image, int dstX, int dstY) override final; void copyImage(const Image *const image, - int dstX, int dstY) override final; + int dstX, int dstY) restrict2 override final; void drawImageCached(const Image *const image, int x, int y) override final; -- cgit v1.2.3-70-g09d2