summaryrefslogtreecommitdiff
path: root/src/render/graphics.h
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-12-25 00:31:58 +0300
committerAndrei Karas <akaras@inbox.ru>2015-12-25 00:31:58 +0300
commitf0f4f43d1263f946be23b75de4de28a4731cc93a (patch)
treea572d7d28c42f727c94a70d3eedb03c2c63248b2 /src/render/graphics.h
parent1f4cf5720cd6c432c2544d34a804c96b8c7858f0 (diff)
downloadmv-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.gz
mv-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.bz2
mv-f0f4f43d1263f946be23b75de4de28a4731cc93a.tar.xz
mv-f0f4f43d1263f946be23b75de4de28a4731cc93a.zip
Add restrict keyword into graphicsdef.hpp
Diffstat (limited to 'src/render/graphics.h')
-rw-r--r--src/render/graphics.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/render/graphics.h b/src/render/graphics.h
index 4d30f210b..53877361b 100644
--- a/src/render/graphics.h
+++ b/src/render/graphics.h
@@ -135,7 +135,7 @@ class Graphics notfinal
mRect.h = static_cast<RectSize>(height);
}
- SDL_Window *getWindow() restrict2 const
+ SDL_Window *getWindow() const restrict2
{ return mWindow; }
/**