Index: src/libplatform/tracing/trace-config.cc |
diff --git a/src/libplatform/tracing/trace-config.cc b/src/libplatform/tracing/trace-config.cc |
index 9156301a45843486b0994a1670459b9bcb404afa..ff90eff71c178ce4633767cb6ddfa6fd182eb860 100644 |
--- a/src/libplatform/tracing/trace-config.cc |
+++ b/src/libplatform/tracing/trace-config.cc |
@@ -25,7 +25,7 @@ bool TraceConfig::IsCategoryGroupEnabled(const char* category_group) const { |
while (category_stream.good()) { |
std::string category; |
getline(category_stream, category, ','); |
- for (auto included_category : included_categories_) { |
+ for (const auto& included_category : included_categories_) { |
if (category == included_category) return true; |
} |
} |