refactor: unglob std::unordered_map

This commit is contained in:
Tropical
2026-03-06 11:29:36 -06:00
committed by JuiceyDev
parent 8812c3967b
commit c571014bc9
106 changed files with 204 additions and 204 deletions

View File

@@ -65,7 +65,7 @@ void RepairMenu::createResult()
{
std::shared_ptr<ItemInstance> result = input->copy();
std::shared_ptr<ItemInstance> addition = repairSlots->getItem(ADDITIONAL_SLOT);
unordered_map<int,int> *enchantments = EnchantmentHelper::getEnchantments(result);
std::unordered_map<int,int> *enchantments = EnchantmentHelper::getEnchantments(result);
bool usingBook = false;
tax += input->getBaseRepairCost() + (addition == NULL ? 0 : addition->getBaseRepairCost());
@@ -132,7 +132,7 @@ void RepairMenu::createResult()
}
}
unordered_map<int, int> *additionalEnchantments = EnchantmentHelper::getEnchantments(addition);
std::unordered_map<int, int> *additionalEnchantments = EnchantmentHelper::getEnchantments(addition);
for(AUTO_VAR(it, additionalEnchantments->begin()); it != additionalEnchantments->end(); ++it)
{