mirror of
https://github.com/taglib/taglib.git
synced 2025-07-19 13:34:19 -04:00
Semantic and style cleanups. render() should be const. Use for() loops to
loop through lists rather than while, fix bracket style. git-svn-id: svn://anonsvn.kde.org/home/kde/trunk/kdesupport/taglib@358627 283d02a7-25f6-0310-bc7c-ecb5cbfe19da
This commit is contained in:
@ -223,11 +223,11 @@ ByteVector APE::Tag::render() const
|
||||
uint itemCount = 0;
|
||||
|
||||
{
|
||||
Map<const String,Item>::Iterator i = d->itemListMap.begin();
|
||||
while(i != d->itemListMap.end()) {
|
||||
data.append(i->second.render());
|
||||
for(Map<const String, Item>::ConstIterator it = d->itemListMap.begin();
|
||||
it != d->itemListMap.end(); ++it)
|
||||
{
|
||||
data.append(it->second.render());
|
||||
itemCount++;
|
||||
i++;
|
||||
}
|
||||
}
|
||||
|
||||
|
Reference in New Issue
Block a user