From 3e8fecc9a62afff0054fa0fa23af86c8ef15a1c9 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:19:35 +0300 Subject: Add missing const in gui directory. --- src/gui/windows/minimap.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/windows/minimap.cpp') diff --git a/src/gui/windows/minimap.cpp b/src/gui/windows/minimap.cpp index 2d7b8ba65..371d98414 100644 --- a/src/gui/windows/minimap.cpp +++ b/src/gui/windows/minimap.cpp @@ -237,7 +237,7 @@ void Minimap::toggle() mShow = isWindowVisible(); } -void Minimap::draw(Graphics *graphics) +void Minimap::draw(Graphics *const graphics) { BLOCK_START("Minimap::draw") @@ -245,7 +245,7 @@ void Minimap::draw(Graphics *graphics) draw2(graphics); } -void Minimap::safeDraw(Graphics *graphics) +void Minimap::safeDraw(Graphics *const graphics) { BLOCK_START("Minimap::draw") -- cgit v1.2.3-70-g09d2