From 26f2c689298bb2077000b81ff3fe14328a89feb8 Mon Sep 17 00:00:00 2001 From: Andrei Karas Date: Sun, 17 May 2015 00:17:13 +0300 Subject: Fix code style. --- src/gui/models/shopitems.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/gui/models') diff --git a/src/gui/models/shopitems.cpp b/src/gui/models/shopitems.cpp index 3a0d933cc..409ca3f63 100644 --- a/src/gui/models/shopitems.cpp +++ b/src/gui/models/shopitems.cpp @@ -128,7 +128,7 @@ void ShopItems::erase(const unsigned int i) if (i >= static_cast(mShopItems.size())) return; - ShopItem *item = *(mShopItems.begin() + i); + const ShopItem *const item = *(mShopItems.begin() + i); std::vector::iterator it; if (findInAllItems(it, item)) mAllShopItems.erase(it); -- cgit v1.2.3-60-g2f50