diff options
author | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:21:10 +0300 |
---|---|---|
committer | Andrei Karas <akaras@inbox.ru> | 2016-02-20 21:21:10 +0300 |
commit | 7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5 (patch) | |
tree | 8b74b950fd50627b9477d97053a4ade9fd9aa7fd /src/dyetool/gui/viewport.cpp | |
parent | 21069ec1635bd24ab33805e033d28f2c0b2de482 (diff) | |
download | mv-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.gz mv-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.bz2 mv-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.tar.xz mv-7d606d7dd9708c9c382d1f8eba5fed9becdfd3d5.zip |
Add missing const in other left files.
Diffstat (limited to 'src/dyetool/gui/viewport.cpp')
-rw-r--r-- | src/dyetool/gui/viewport.cpp | 4 |
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); } |