mirror of
https://github.com/taglib/taglib.git
synced 2025-10-07 03:54:29 -04:00
clang-tidy: use auto
Found with modernize-use-auto Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@ -272,8 +272,8 @@ bool Ogg::XiphComment::setComplexProperties(const String &key, const List<Varian
|
||||
if(uppercaseKey == "PICTURE") {
|
||||
removeAllPictures();
|
||||
|
||||
for(auto property : value) {
|
||||
FLAC::Picture *picture = new FLAC::Picture;
|
||||
for(const auto &property : value) {
|
||||
auto picture = new FLAC::Picture;
|
||||
picture->setData(property.value("data").value<ByteVector>());
|
||||
picture->setMimeType(property.value("mimeType").value<String>());
|
||||
picture->setDescription(property.value("description").value<String>());
|
||||
|
Reference in New Issue
Block a user