mirror of
https://github.com/navidrome/navidrome.git
synced 2025-04-03 20:47:35 +03:00
Remove dependency on C++17
This commit is contained in:
parent
841c1129ff
commit
caeff2862a
1 changed files with 3 additions and 3 deletions
|
@ -57,9 +57,9 @@ int taglib_read(const char *filename, unsigned long id) {
|
|||
if (mp3File->ID3v2Tag()) {
|
||||
const auto &frameListMap(mp3File->ID3v2Tag()->frameListMap());
|
||||
|
||||
for (const auto &[name, values] : frameListMap) {
|
||||
if (!values.isEmpty())
|
||||
tags.insert(name, values.front()->toString());
|
||||
for (const auto& kv : frameListMap) {
|
||||
if (!kv.second.isEmpty())
|
||||
tags.insert(kv.first, kv.second.front()->toString());
|
||||
}
|
||||
}
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue