mirror of
https://github.com/taglib/taglib.git
synced 2026-02-20 07:03:10 -05:00
Also make sure that the lines calling std algorithms are not excessively long.
This commit is contained in:
@ -191,7 +191,8 @@ void Ogg::XiphComment::setTrack(unsigned int i)
|
||||
|
||||
bool Ogg::XiphComment::isEmpty() const
|
||||
{
|
||||
return std::all_of(d->fieldListMap.begin(), d->fieldListMap.end(), [](const auto &field) { return field.second.isEmpty(); });
|
||||
return std::all_of(d->fieldListMap.cbegin(), d->fieldListMap.cend(),
|
||||
[](const auto &field) { return field.second.isEmpty(); });
|
||||
}
|
||||
|
||||
unsigned int Ogg::XiphComment::fieldCount() const
|
||||
|
||||
Reference in New Issue
Block a user