Fixed build on taglib v1

This commit is contained in:
emeric
2025-01-21 13:41:25 +01:00
parent 41f75311db
commit 8be99113fa
+1 -1
View File
@@ -313,7 +313,7 @@ namespace lms::metadata
_propertyMap[strName] = std::move(attributes);
}
if (auto itAuthor{ _propertyMap.find("AUTHOR") }; itAuthor != _propertyMap.cend() && _propertyMap.unsupportedData().contains("Author"))
if (auto itAuthor{ _propertyMap.find("AUTHOR") }; itAuthor != _propertyMap.end() && _propertyMap.unsupportedData().contains("Author"))
{
if (!_propertyMap.contains("ARTISTS"))
_propertyMap["ARTIST"].append(itAuthor->second);