1
0
mirror of https://github.com/tomahawk-player/tomahawk.git synced 2025-08-20 04:41:36 +02:00

Do not keep a reference to the internal tag, never used

This commit is contained in:
Uwe L. Korn
2014-11-06 13:59:47 +01:00
parent 7324de71b9
commit 755bc7f456
2 changed files with 1 additions and 5 deletions

View File

@@ -23,9 +23,8 @@ namespace Tomahawk
APETag::APETag( TagLib::Tag *tag, TagLib::APE::Tag *apeTag ) APETag::APETag( TagLib::Tag *tag, TagLib::APE::Tag *apeTag )
: Tag( tag ) : Tag( tag )
, m_apeTag( apeTag )
{ {
TagLib::APE::ItemListMap map = m_apeTag->itemListMap(); TagLib::APE::ItemListMap map = apeTag->itemListMap();
for( TagLib::APE::ItemListMap::ConstIterator it = map.begin(); for( TagLib::APE::ItemListMap::ConstIterator it = map.begin();
it != map.end(); ++it ) it != map.end(); ++it )
{ {

View File

@@ -29,9 +29,6 @@ class DLLEXPORT APETag : public Tag
{ {
public: public:
APETag( TagLib::Tag *, TagLib::APE::Tag * ); APETag( TagLib::Tag *, TagLib::APE::Tag * );
private:
TagLib::APE::Tag *m_apeTag;
}; };
} }