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

Unified Diff: device/bluetooth/bluetooth_low_energy_win_fake.cc

Issue 2108923002: device: Change auto to not deduce raw pointers. (Closed) Base URL: https://chromium.googlesource.com/chromium/src.git@master
Patch Set: device Created 4 years, 5 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
« no previous file with comments | « device/bluetooth/bluetooth_discovery_filter.cc ('k') | device/bluetooth/bluetooth_task_manager_win.cc » ('j') | no next file with comments »
Expand Comments ('e') | Collapse Comments ('c') | Show Comments Hide Comments ('s')
Index: device/bluetooth/bluetooth_low_energy_win_fake.cc
diff --git a/device/bluetooth/bluetooth_low_energy_win_fake.cc b/device/bluetooth/bluetooth_low_energy_win_fake.cc
index c7ccd33fc92233d9eaf0b9a87b6a6b14e9281efc..dc53c686833d6ae7fea51c63a3a8c8c87dfc3257 100644
--- a/device/bluetooth/bluetooth_low_energy_win_fake.cc
+++ b/device/bluetooth/bluetooth_low_energy_win_fake.cc
@@ -473,7 +473,7 @@ void BluetoothLowEnergyWrapperFake::
if (target_characteristic == nullptr)
target_characteristic = remembered_characteristic_;
CHECK(target_characteristic);
- for (const auto& observer : target_characteristic->observers) {
+ for (auto* observer : target_characteristic->observers) {
GattCharacteristicObserverTable::const_iterator it =
gatt_characteristic_observers_.find(observer);
// Check if |observer| has been unregistered by UnregisterGattEvent.
« no previous file with comments | « device/bluetooth/bluetooth_discovery_filter.cc ('k') | device/bluetooth/bluetooth_task_manager_win.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698