cid#318956 AUTO_CAUSES_COPY
Signed-off-by: Caolán McNamara <caolan.mcnamara@collabora.com> Change-Id: Ifcd6984042b50999a24f65479bc81428f710d38apull/6690/head
parent
1b8e81497c
commit
c617e14d67
|
@ -136,7 +136,7 @@ struct Stats {
|
|||
// how much from each command ?
|
||||
std::vector<std::string> sortKeys;
|
||||
size_t total = 0;
|
||||
for(auto it : map)
|
||||
for(const auto& it : map)
|
||||
{
|
||||
sortKeys.push_back(it.first);
|
||||
total += it.second.size;
|
||||
|
|
Loading…
Reference in New Issue