aboutsummaryrefslogtreecommitdiff
path: root/Minecraft.World/MerchantRecipeList.cpp
diff options
context:
space:
mode:
Diffstat (limited to 'Minecraft.World/MerchantRecipeList.cpp')
-rw-r--r--Minecraft.World/MerchantRecipeList.cpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/Minecraft.World/MerchantRecipeList.cpp b/Minecraft.World/MerchantRecipeList.cpp
index bd7a126c..c994081f 100644
--- a/Minecraft.World/MerchantRecipeList.cpp
+++ b/Minecraft.World/MerchantRecipeList.cpp
@@ -13,9 +13,9 @@ MerchantRecipeList::MerchantRecipeList(CompoundTag *tag)
MerchantRecipeList::~MerchantRecipeList()
{
- for(AUTO_VAR(it, m_recipes.begin()); it != m_recipes.end(); ++it)
+ for(auto& it : m_recipes)
{
- delete (*it);
+ delete it;
}
}