Index: chromeos/network/shill_property_handler.cc |
diff --git a/chromeos/network/shill_property_handler.cc b/chromeos/network/shill_property_handler.cc |
index a3f77a5419ca9135e4984466726e42a4331ee64f..a1e643f4d0046a175ddb7179f2232e264f626e31 100644 |
--- a/chromeos/network/shill_property_handler.cc |
+++ b/chromeos/network/shill_property_handler.cc |
@@ -379,7 +379,7 @@ void ShillPropertyHandler::UpdateObserved(ManagedState::ManagedType type, |
(type == ManagedState::MANAGED_TYPE_NETWORK) ? observed_networks_ |
: observed_devices_; |
ShillPropertyObserverMap new_observed; |
- for (auto* entry : entries) { |
+ for (const auto& entry : entries) { |
std::string path; |
entry->GetAsString(&path); |
if (path.empty()) |