From 109b602701578b9f2b29282f84bf2757544f8d32 Mon Sep 17 00:00:00 2001 From: Thorbjørn Lindeijer Date: Fri, 19 Aug 2022 16:55:29 +0200 Subject: Apply C++11 fixits modernize-use-auto modernize-use-nullptr modernize-use-override modernize-use-using --- src/account-server/character.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'src/account-server/character.cpp') diff --git a/src/account-server/character.cpp b/src/account-server/character.cpp index 80b28b55..e22a84e9 100644 --- a/src/account-server/character.cpp +++ b/src/account-server/character.cpp @@ -106,7 +106,7 @@ void CharacterData::serialize(MessageOut &msg) const EquipData &equipData = poss.getEquipment(); const InventoryData &inventoryData = poss.getInventory(); - for (InventoryData::const_iterator itemIt = inventoryData.begin(), + for (auto itemIt = inventoryData.begin(), itemIt_end = inventoryData.end(); itemIt != itemIt_end; ++itemIt) { int slot = itemIt->first; -- cgit v1.2.3-70-g09d2