aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorTsuda Kageyu <tsuda.kageyu@gmail.com>2015-08-23 18:25:17 +0900
committerTsuda Kageyu <tsuda.kageyu@gmail.com>2015-08-23 18:25:17 +0900
commitac38f4ade1660a676591b8d1b14914d7657ea52c (patch)
treee384e6ad7475e316999683d16950a7c687896f4f
parentb9f898698dd95d9a410ac45e7b7a2e9483dc327b (diff)
Remove an unused private data member.
-rw-r--r--taglib/ape/apetag.cpp15
1 files changed, 9 insertions, 6 deletions
diff --git a/taglib/ape/apetag.cpp b/taglib/ape/apetag.cpp
index e0c2a24e..312533fe 100644
--- a/taglib/ape/apetag.cpp
+++ b/taglib/ape/apetag.cpp
@@ -46,11 +46,12 @@ using namespace APE;
class APE::Tag::TagPrivate
{
public:
- TagPrivate() : file(0), footerLocation(-1), tagLength(0) {}
+ TagPrivate() :
+ file(0),
+ footerLocation(-1) {}
TagLib::File *file;
long footerLocation;
- long tagLength;
Footer footer;
@@ -61,14 +62,16 @@ public:
// public methods
////////////////////////////////////////////////////////////////////////////////
-APE::Tag::Tag() : TagLib::Tag()
+APE::Tag::Tag() :
+ TagLib::Tag(),
+ d(new TagPrivate())
{
- d = new TagPrivate;
}
-APE::Tag::Tag(TagLib::File *file, long footerLocation) : TagLib::Tag()
+APE::Tag::Tag(TagLib::File *file, long footerLocation) :
+ TagLib::Tag(),
+ d(new TagPrivate())
{
- d = new TagPrivate;
d->file = file;
d->footerLocation = footerLocation;