refactor: expand AUTO_VAR macro
This commit is contained in:
1 parent
a330ecdcbb
commit
e45151ae64
201 files changed
+1051
-1055
No files matched your search
@@ -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