From: Tsuda Kageyu Date: Wed, 18 Nov 2015 08:58:13 +0000 (+0900) Subject: Use the same type name between a List and its iterator. X-Git-Tag: v1.11beta~132 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=c6443dabc6b6511690a07ec8654c6f35306256cc;p=taglib Use the same type name between a List and its iterator. --- diff --git a/taglib/ape/apetag.cpp b/taglib/ape/apetag.cpp index 7be798b0..c633d575 100644 --- a/taglib/ape/apetag.cpp +++ b/taglib/ape/apetag.cpp @@ -351,13 +351,9 @@ ByteVector APE::Tag::render() const ByteVector data; uint itemCount = 0; - { - for(Map::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);