refs #937 Resolved clazy warnings: unnecessary memory allocation.

This commit is contained in:
Mathew Sutcliffe
2017-04-17 00:03:33 +01:00
parent fce1513dae
commit b7f69c6887
26 changed files with 52 additions and 51 deletions

View File

@@ -53,7 +53,7 @@ namespace BlackMisc
{
if (this->isEmpty()) return QString("{wildcard: %1}").arg(this->m_wildcard ? "true" : "false");
QString s;
foreach (CPropertyIndex index, this->m_values.keys())
for (const CPropertyIndex &index : makeKeysRange(this->m_values))
{
CVariant v = this->m_values.value(index);