mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
Replace unnecessary loop (#1105)
Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
965260e3cb
commit
ee8124ed7a
@ -364,10 +364,8 @@ String UserTextIdentificationFrame::toString() const
|
||||
{
|
||||
// first entry is the description itself, drop from values list
|
||||
StringList l = fieldList();
|
||||
for(auto it = l.begin(); it != l.end(); ++it) {
|
||||
l.erase(it);
|
||||
break;
|
||||
}
|
||||
if(!l.isEmpty())
|
||||
l.erase(l.begin());
|
||||
return "[" + description() + "] " + l.toString();
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user