1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-15 10:33:59 +02:00

Don't keep reference to asfTag, never used

This commit is contained in:
Uwe L. Korn
2014-11-06 14:15:27 +01:00
parent 80efa9a230
commit 1b11ebb9f5
2 changed files with 1 additions and 5 deletions

View File

@@ -23,9 +23,8 @@ namespace Tomahawk
ASFTag::ASFTag( TagLib::Tag *tag, TagLib::ASF::Tag *asfTag ) ASFTag::ASFTag( TagLib::Tag *tag, TagLib::ASF::Tag *asfTag )
: Tag( tag ) : Tag( tag )
, m_asfTag( asfTag )
{ {
TagLib::ASF::AttributeListMap map = m_asfTag->attributeListMap(); TagLib::ASF::AttributeListMap map = asfTag->attributeListMap();
for( TagLib::ASF::AttributeListMap::ConstIterator it = map.begin(); for( TagLib::ASF::AttributeListMap::ConstIterator it = map.begin();
it != map.end(); ++it ) it != map.end(); ++it )
{ {

View File

@@ -29,9 +29,6 @@ class DLLEXPORT ASFTag : public Tag
{ {
public: public:
ASFTag( TagLib::Tag *, TagLib::ASF::Tag * ); ASFTag( TagLib::Tag *, TagLib::ASF::Tag * );
private:
TagLib::ASF::Tag *m_asfTag;
}; };
} }