mirror of
https://github.com/taglib/taglib.git
synced 2025-05-27 21:20:26 -04:00
clang-tidy: use member initializer
Found with cppcoreguidelines-prefer-member-initializer Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
parent
e49724ae5f
commit
abbf880872
@ -37,8 +37,8 @@ public:
|
||||
};
|
||||
|
||||
FLAC::MetadataBlock::MetadataBlock()
|
||||
: d(0)
|
||||
{
|
||||
d = 0;
|
||||
}
|
||||
|
||||
FLAC::MetadataBlock::~MetadataBlock()
|
||||
|
@ -38,10 +38,10 @@ const char *const MP4::Atom::containers[11] = {
|
||||
};
|
||||
|
||||
MP4::Atom::Atom(File *file)
|
||||
: offset(file->tell())
|
||||
{
|
||||
children.setAutoDelete(true);
|
||||
|
||||
offset = file->tell();
|
||||
ByteVector header = file->readBlock(8);
|
||||
if(header.size() != 8) {
|
||||
// The atom header must be 8 bytes long, otherwise there is either
|
||||
|
Loading…
Reference in New Issue
Block a user