From c456cb3f7eea27839c4b2689d77ddc09926fb8c6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Fri, 25 Dec 2015 03:27:23 +0300 Subject: Add restrict to all methods in graphics. --- src/render/sdl2softwaregraphics.cpp | 3 ++- 1 file changed, 2 insertions(+), 1 deletion(-) (limited to 'src/render/sdl2softwaregraphics.cpp') diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index 8e777fb15..4b8c9a469 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -1479,7 +1479,8 @@ bool SDL2SoftwareGraphics::setVideoMode(const int w, const int h, return videoInfo(); } -bool SDL2SoftwareGraphics::resizeScreen(const int width, const int height) +bool SDL2SoftwareGraphics::resizeScreen(const int width, + const int height) restrict2 { const bool ret = Graphics::resizeScreen(width, height); -- cgit v1.2.3-70-g09d2