Fix false positive uninintialized member warning

This commit is contained in:
Nyall Dawson 2024-01-12 08:12:01 +10:00 committed by Jakub Melka
parent 577866aa2f
commit 7ab77c582b
1 changed files with 1 additions and 1 deletions

View File

@ -401,7 +401,7 @@ bool PDFCertificateStore::add(PDFCertificateEntry::EntryType type, PDFCertificat
auto it = std::find_if(m_certificates.cbegin(), m_certificates.cend(), [&info](const auto& entry) { return entry.info == info; });
if (it == m_certificates.cend())
{
m_certificates.push_back({ type, qMove(info) });
m_certificates.push_back({ type, qMove(info), QByteArray(), QString() });
}
return true;