From f9030497b6196ce2fadb6b6ada5d784be227d9a6 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Thu, 1 May 2014 15:14:16 +0300 Subject: Add missing const. --- src/render/sdl2softwaregraphics.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/render/sdl2softwaregraphics.cpp') diff --git a/src/render/sdl2softwaregraphics.cpp b/src/render/sdl2softwaregraphics.cpp index a176b6905..e5943f7c7 100644 --- a/src/render/sdl2softwaregraphics.cpp +++ b/src/render/sdl2softwaregraphics.cpp @@ -1125,7 +1125,7 @@ void SDL2SoftwareGraphics::endDraw() popClipArea(); } -bool SDL2SoftwareGraphics::pushClipArea(Rect area) +bool SDL2SoftwareGraphics::pushClipArea(const Rect &area) { const bool result = Graphics::pushClipArea(area); -- cgit v1.2.3-60-g2f50