🚨 fix warning
This commit is contained in:
parent
c11c34f640
commit
13f5c67093
@ -61,8 +61,8 @@ struct person
|
|||||||
|
|
||||||
struct contact
|
struct contact
|
||||||
{
|
{
|
||||||
person m_person{};
|
person m_person{}; // NOLINT(readability-redundant-member-init)
|
||||||
address m_address{};
|
address m_address{}; // NOLINT(readability-redundant-member-init)
|
||||||
contact() = default;
|
contact() = default;
|
||||||
contact(person p, address a) : m_person(std::move(p)), m_address(std::move(a)) {}
|
contact(person p, address a) : m_person(std::move(p)), m_address(std::move(a)) {}
|
||||||
};
|
};
|
||||||
|
|||||||
Loading…
Reference in New Issue
Block a user