Chromium Code Reviews
chromiumcodereview-hr@appspot.gserviceaccount.com (chromiumcodereview-hr) | Please choose your nickname with Settings | Help | Chromium Project | Gerrit Changes | Sign out
(2347)

Unified Diff: device/bluetooth/bluez/bluetooth_device_bluez.cc

Issue 2108923002: device: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: Created 4 years, 6 months ago
Use n/p to move between diff chunks; N/P to move between comments. Draft comments are only viewable by you.
Jump to:
View side-by-side diff with in-line comments
Download patch
Index: device/bluetooth/bluez/bluetooth_device_bluez.cc
diff --git a/device/bluetooth/bluez/bluetooth_device_bluez.cc b/device/bluetooth/bluez/bluetooth_device_bluez.cc
index b2e0d5210076ea7006c5a7b40b25e727f3835691..a5e037dae6839e56eeec4ff1e666471d18074c58 100644
--- a/device/bluetooth/bluez/bluetooth_device_bluez.cc
+++ b/device/bluetooth/bluez/bluetooth_device_bluez.cc
@@ -594,7 +594,7 @@ void BluetoothDeviceBlueZ::DevicePropertyChanged(
VLOG(3) << "All services were discovered for device: "
<< object_path.value();
- for (const auto iter : newly_discovered_gatt_services_) {
+ for (auto* iter : newly_discovered_gatt_services_) {
adapter()->NotifyGattDiscoveryComplete(
static_cast<BluetoothRemoteGattService*>(iter));
}

Powered by Google App Engine
This is Rietveld 408576698