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/widgets/sliderlist.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/sliderlist.cpp') diff --git a/src/gui/widgets/sliderlist.cpp b/src/gui/widgets/sliderlist.cpp index dc2cba7b8..0d4332d85 100644 --- a/src/gui/widgets/sliderlist.cpp +++ b/src/gui/widgets/sliderlist.cpp @@ -107,7 +107,7 @@ void SliderList::resize() updateLabel(); } -void SliderList::draw(Graphics *graphics) +void SliderList::draw(Graphics *const graphics) { BLOCK_START("SliderList::draw") const int width = mDimension.width; @@ -120,7 +120,7 @@ void SliderList::draw(Graphics *graphics) BLOCK_END("SliderList::draw") } -void SliderList::safeDraw(Graphics *graphics) +void SliderList::safeDraw(Graphics *const graphics) { BLOCK_START("SliderList::draw") const int width = mDimension.width; -- cgit v1.2.3-70-g09d2