refactor: expand AUTO_VAR macro

This commit is contained in:
Tropical
2026-03-29 23:59:05 -05:00
parent a330ecdcbb
commit e45151ae64
201 changed files with 1051 additions and 1055 deletions

View File

@@ -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);
}
}