diff --git a/base/trace_event/trace_event_unittest.cc b/base/trace_event/trace_event_unittest.cc index c43bce7ba5a8e..c6b1ddf56a0c0 100644 --- a/base/trace_event/trace_event_unittest.cc +++ b/base/trace_event/trace_event_unittest.cc @@ -325,7 +325,7 @@ bool TraceEventTestFixture::FindNonMatchingValue(const char* key, } bool IsStringInDict(const char* string_to_match, const Value* dict) { - for (const auto& pair : dict->DictItems()) { + for (const auto pair : dict->DictItems()) { if (pair.first.find(string_to_match) != std::string::npos) return true;