diff options
Diffstat (limited to 'src/gui/models/shopitems.cpp')
-rw-r--r-- | src/gui/models/shopitems.cpp | 2 |
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); |