1
0
Fork 0
mirror of https://github.com/luanti-org/luanti.git synced 2025-06-27 16:36:03 +00:00

Change i++ to ++i

This commit is contained in:
David Jones 2015-08-25 21:23:05 +01:00 committed by ShadowNinja
parent 2480f2d06f
commit 34b7a147dc
41 changed files with 125 additions and 125 deletions

View file

@ -730,7 +730,7 @@ bool InventoryList::containsItem(const ItemStack &item) const
return true;
for(std::vector<ItemStack>::const_reverse_iterator
i = m_items.rbegin();
i != m_items.rend(); i++)
i != m_items.rend(); ++i)
{
if(count == 0)
break;
@ -750,7 +750,7 @@ ItemStack InventoryList::removeItem(const ItemStack &item)
ItemStack removed;
for(std::vector<ItemStack>::reverse_iterator
i = m_items.rbegin();
i != m_items.rend(); i++)
i != m_items.rend(); ++i)
{
if(i->name == item.name)
{