mirror of
https://git.huckle.dev/Huckles-Minecraft-Archive/4jcraft.git
synced 2026-06-23 09:45:38 +00:00
refactor: expand AUTO_VAR macro
This commit is contained in:
@@ -7,7 +7,7 @@ MerchantRecipeList::MerchantRecipeList() {}
|
||||
MerchantRecipeList::MerchantRecipeList(CompoundTag* tag) { load(tag); }
|
||||
|
||||
MerchantRecipeList::~MerchantRecipeList() {
|
||||
for (AUTO_VAR(it, m_recipes.begin()); it != m_recipes.end(); ++it) {
|
||||
for (auto it = m_recipes.begin(); it != m_recipes.end(); ++it) {
|
||||
delete (*it);
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user