From da7424636b8b9313b769900865dc4073c6907a1e Mon Sep 17 00:00:00 2001 From: Tsuda Kageyu Date: Wed, 18 Nov 2015 17:50:48 +0900 Subject: [PATCH] Fix a mismatch between List and iterator types. --- 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 23f2d32f..7a034129 100644 --- a/taglib/ape/apetag.cpp +++ b/taglib/ape/apetag.cpp @@ -344,13 +344,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);