mirror of
https://github.com/keepassxreboot/keepassxc.git
synced 2025-07-25 15:55:38 -04:00
Avoid creation of temporary containers
This commit is contained in:
parent
39b96c13e8
commit
2cf837801d
6 changed files with 15 additions and 7 deletions
|
@ -124,8 +124,8 @@ void KdbxXmlReader::readDatabase(QIODevice* device, Database* db, KeePass2Random
|
|||
qWarning("KdbxXmlReader::readDatabase: found %d invalid entry reference(s)", m_tmpParent->children().size());
|
||||
}
|
||||
|
||||
const QSet<QString> poolKeys = m_binaryPool.keys().toSet();
|
||||
const QSet<QString> entryKeys = m_binaryMap.keys().toSet();
|
||||
const QSet<QString> poolKeys = asConst(m_binaryPool).keys().toSet();
|
||||
const QSet<QString> entryKeys = asConst(m_binaryMap).keys().toSet();
|
||||
const QSet<QString> unmappedKeys = entryKeys - poolKeys;
|
||||
const QSet<QString> unusedKeys = poolKeys - entryKeys;
|
||||
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue