summaryrefslogtreecommitdiff
path: root/src/dyetool/gui/viewport.cpp
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
committerAndrei Karas <akaras@inbox.ru>2016-02-20 21:21:10 +0300
commit7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (patch)
tree8b74b950fd50627b9477d97053a4ade9fd9aa7fd /src/dyetool/gui/viewport.cpp
parent21069ec1635bd24ab33805e033d28f2c0b2de482 (diff)
downloadplus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.gz
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.bz2
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.xz
plus-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.zip
Add missing const in other left files.
Diffstat (limited to 'src/dyetool/gui/viewport.cpp')
-rw-r--r--src/dyetool/gui/viewport.cpp4
1 files changed, 2 insertions, 2 deletions
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);
}