Use the same type name between a List and its iterator.

This commit is contained in:
Tsuda Kageyu 2015-11-18 17:58:13 +09:00
parent c5db39fbf4
commit c6443dabc6

View File

@ -351,13 +351,9 @@ ByteVector APE::Tag::render() const
ByteVector data;
uint itemCount = 0;
{
for(Map<const String, Item>::ConstIterator it = d->itemListMap.begin();
it != d->itemListMap.end(); ++it)
{
data.append(it->second.render());
itemCount++;
}
for(ItemListMap::ConstIterator it = d->itemListMap.begin(); it != d->itemListMap.end(); ++it) {
data.append(it->second.render());
itemCount++;
}
d->footer.setItemCount(itemCount);