mirror of
https://github.com/taglib/taglib.git
synced 2026-02-08 00:10:15 -05:00
clang-tidy: remove redundant initializations
Found with readability-redundant-member-init Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
@ -85,13 +85,11 @@ ByteVector ID3v1::StringHandler::render(const String &s) const
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ID3v1::Tag::Tag() :
|
||||
TagLib::Tag(),
|
||||
d(new TagPrivate())
|
||||
{
|
||||
}
|
||||
|
||||
ID3v1::Tag::Tag(File *file, long tagOffset) :
|
||||
TagLib::Tag(),
|
||||
d(new TagPrivate())
|
||||
{
|
||||
d->file = file;
|
||||
|
||||
@ -120,14 +120,12 @@ String Latin1StringHandler::parse(const ByteVector &data) const
|
||||
////////////////////////////////////////////////////////////////////////////////
|
||||
|
||||
ID3v2::Tag::Tag() :
|
||||
TagLib::Tag(),
|
||||
d(new TagPrivate())
|
||||
{
|
||||
d->factory = FrameFactory::instance();
|
||||
}
|
||||
|
||||
ID3v2::Tag::Tag(File *file, long tagOffset, const FrameFactory *factory) :
|
||||
TagLib::Tag(),
|
||||
d(new TagPrivate())
|
||||
{
|
||||
d->factory = factory;
|
||||
|
||||
Reference in New Issue
Block a user