[prev in list] [next in list] [prev in thread] [next in thread]
List: taglib-devel
Subject: Re: getting started with ios
From: patrick machielse <patrick () hieper ! nl>
Date: 2014-03-26 22:19:25
Message-ID: 3781876F-5CBB-42A9-9CDC-E111355DAB81 () hieper ! nl
[Download RAW message or body]
Op 26 mrt. 2014, om 19:52 heeft Christopher Scott <chris@phatfly.com> het volgende \
geschreven:
> TagLib::ID3v2::FrameList l = f.ID3v2Tag()->frameListMap()["PRIV"];
My C++ is knowledge is not stellar, but I think you might want to say:
TagLib::ID3v2::FrameList &l = f.ID3v2Tag()->frameListMap()["PRIV"];
This way you get a reference to the FrameList in frameListMap(). In your code I think \
you are making an implicit (deep) copy of the FrameList, and you can't remove those \
copied frames from the tag.
p.
--
Patrick Machielse
Hieper Software
http://www.hieper.nl
info@hieper.nl
_______________________________________________
taglib-devel mailing list
taglib-devel@kde.org
https://mail.kde.org/mailman/listinfo/taglib-devel
[prev in list] [next in list] [prev in thread] [next in thread]
Configure |
About |
News |
Add a list |
Sponsored by KoreLogic