From 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sat, 20 Feb 2016 21:21:10 +0300 Subject: Add missing const in other left files. --- src/dyetool/gui/viewport.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/dyetool/gui/viewport.cpp') diff --git a/src/dyetool/gui/viewport.cpp b/src/dyetool/gui/viewport.cpp index b01d27833..786b7a4f1 100644 --- a/src/dyetool/gui/viewport.cpp +++ b/src/dyetool/gui/viewport.cpp @@ -86,7 +86,7 @@ void Viewport::setMap(Map *const map A_UNUSED) { } -void Viewport::draw(Graphics *graphics) +void Viewport::draw(Graphics *const graphics) { BLOCK_START("Viewport::draw 1") static int lastTick = tick_time; @@ -104,7 +104,7 @@ void Viewport::draw(Graphics *graphics) BLOCK_END("Viewport::draw 1") } -void Viewport::safeDraw(Graphics *graphics) +void Viewport::safeDraw(Graphics *const graphics) { Viewport::draw(graphics); } -- cgit v1.2.3-70-g09d2