summaryrefslogtreecommitdiff
path: root/src/gui/models
diff options
context:
space:
mode:
authorAndrei Karas <akaras@inbox.ru>2015-05-17 00:17:13 +0300
committerAndrei Karas <akaras@inbox.ru>2015-05-17 00:17:13 +0300
commit26f2c689298bb2077000b81ff3fe14328a89feb8 (patch)
tree2821e64165ca0ee2b7f18fb8ec3f53bf1f52a0a7 /src/gui/models
parente528b472ec803ecdec29e9e19c037c83adf30c1f (diff)
downloadmv-26f2c689298bb2077000b81ff3fe14328a89feb8.tar.gz
mv-26f2c689298bb2077000b81ff3fe14328a89feb8.tar.bz2
mv-26f2c689298bb2077000b81ff3fe14328a89feb8.tar.xz
mv-26f2c689298bb2077000b81ff3fe14328a89feb8.zip
Fix code style.
Diffstat (limited to 'src/gui/models')
-rw-r--r--src/gui/models/shopitems.cpp2
1 files changed, 1 insertions, 1 deletions
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<unsigned int>(mShopItems.size()))
return;
- ShopItem *item = *(mShopItems.begin() + i);
+ const ShopItem *const item = *(mShopItems.begin() + i);
std::vector<ShopItem*>::iterator it;
if (findInAllItems(it, item))
mAllShopItems.erase(it);