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/itemcontainer.cpp | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'src/gui/widgets/itemcontainer.cpp') diff --git a/src/gui/widgets/itemcontainer.cpp b/src/gui/widgets/itemcontainer.cpp index 2a9ea0ed7..02ad10ee9 100644 --- a/src/gui/widgets/itemcontainer.cpp +++ b/src/gui/widgets/itemcontainer.cpp @@ -261,7 +261,7 @@ void ItemContainer::logic() BLOCK_END("ItemContainer::logic") } -void ItemContainer::draw(Graphics *graphics) +void ItemContainer::draw(Graphics *const graphics) { if (!mInventory || !mShowMatrix) return; @@ -392,7 +392,7 @@ void ItemContainer::draw(Graphics *graphics) BLOCK_END("ItemContainer::draw") } -void ItemContainer::safeDraw(Graphics *graphics) +void ItemContainer::safeDraw(Graphics *const graphics) { if (!mInventory || !mShowMatrix) return; -- cgit v1.2.3-70-g09d2