From c6443dabc6b6511690a07ec8654c6f35306256cc Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Wed, 18 Nov 2015 17:58:13 +0900 Subject: [PATCH] Use the same type name between a List and its iterator. --- taglib/ape/apetag.cpp | 10 +++------- 1 file changed, 3 insertions(+), 7 deletions(-) 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);