mirror of
https://github.com/swift-project/pilotclient.git
synced 2026-03-23 15:25:35 +08:00
refs #937 Resolved clazy warnings: unnecessary memory allocation.
This commit is contained in:
@@ -458,7 +458,7 @@ namespace BlackMisc
|
||||
CVariantMap temp;
|
||||
if (keysOnly)
|
||||
{
|
||||
for (const auto &key : json.object().keys()) { temp.insert(key, {}); }
|
||||
for (const auto &key : json.object().keys()) { temp.insert(key, {}); } // clazy:exclude=range-loop
|
||||
}
|
||||
else
|
||||
{
|
||||
|
||||
Reference in New Issue
Block a user