diff options
Diffstat (limited to 'src/resources/itemdb.cpp')
-rw-r--r-- | src/resources/itemdb.cpp | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/src/resources/itemdb.cpp b/src/resources/itemdb.cpp index 036bdea8..50eba33d 100644 --- a/src/resources/itemdb.cpp +++ b/src/resources/itemdb.cpp @@ -186,7 +186,7 @@ void ItemDB::load() std::string temp = name; toLower(trim(temp)); - NamedItemInfoIterator itr = mNamedItemInfos.find(temp); + NamedItemInfos::const_iterator itr = mNamedItemInfos.find(temp); if (itr == mNamedItemInfos.end()) { mNamedItemInfos[temp] = itemInfo; @@ -234,7 +234,7 @@ const ItemInfo& ItemDB::get(int id) { assert(mLoaded); - ItemInfoIterator i = mItemInfos.find(id); + ItemInfos::const_iterator i = mItemInfos.find(id); if (i == mItemInfos.end()) { @@ -251,7 +251,7 @@ const ItemInfo& ItemDB::get(const std::string &name) { assert(mLoaded && !name.empty()); - NamedItemInfoIterator i = mNamedItemInfos.find(name); + NamedItemInfos::const_iterator i = mNamedItemInfos.find(name); if (i == mNamedItemInfos.end()) { |