[clang-tidy] use default member init
Found with modernize-use-default-member-init Signed-off-by: Rosen Penev <rosenp@gmail.com>
This commit is contained in:
committed by
Max Kellermann
parent
d2115e908a
commit
7fe49cf24d
@@ -42,8 +42,7 @@ Tag::Clear() noexcept
|
||||
|
||||
Tag::Tag(const Tag &other) noexcept
|
||||
:duration(other.duration), has_playlist(other.has_playlist),
|
||||
num_items(other.num_items),
|
||||
items(nullptr)
|
||||
num_items(other.num_items)
|
||||
{
|
||||
if (num_items > 0) {
|
||||
items = new TagItem *[num_items];
|
||||
|
||||
Reference in New Issue
Block a user