🚨 fix warnings

This commit is contained in:
Niels Lohmann 2021-01-28 11:18:56 +01:00
parent 10fc3520d7
commit c243cd7abe
No known key found for this signature in database
GPG Key ID: 7F3CEA63AE251B69

View File

@ -86,7 +86,7 @@ struct contact
struct contact_book
{
name m_book_name{};
std::vector<contact> m_contacts;
std::vector<contact> m_contacts{};
contact_book() = default;
contact_book(name n, std::vector<contact> c) : m_book_name(std::move(n)), m_contacts(std::move(c)) {}
};