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);