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

Unified Diff: device/bluetooth/bluetooth_task_manager_win.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
Index: device/bluetooth/bluetooth_task_manager_win.cc
diff --git a/device/bluetooth/bluetooth_task_manager_win.cc b/device/bluetooth/bluetooth_task_manager_win.cc
index 6597d5f7ec725debaeb3cb075a510a984517684d..e79294715b9df1109182c84a34b7a38bc392fd1e 100644
--- a/device/bluetooth/bluetooth_task_manager_win.cc
+++ b/device/bluetooth/bluetooth_task_manager_win.cc
@@ -788,7 +788,7 @@ bool BluetoothTaskManagerWin::SearchForGattServiceDevicePaths(
return false;
}
- for (auto gatt_service_device : gatt_service_devices) {
+ for (auto* gatt_service_device : gatt_service_devices) {
// Only care about the service devices with |device_address|.
if (BluetoothAddressToCanonicalString(gatt_service_device->address) !=
device_address) {
@@ -812,8 +812,8 @@ bool BluetoothTaskManagerWin::SearchForGattServiceDevicePaths(
// Associate service device to corresponding service record. Attribute
// handle is unique on one device.
- for (auto gatt_service : gatt_services) {
- for (auto service_record_state : *service_record_states) {
+ for (auto* gatt_service : gatt_services) {
+ for (auto* service_record_state : *service_record_states) {
if (service_record_state->attribute_handle ==
gatt_service->attribute_handle) {
service_record_state->path = gatt_service_device->path;
« no previous file with comments | « device/bluetooth/bluetooth_low_energy_win_fake.cc ('k') | device/bluetooth/bluez/bluetooth_bluez_unittest.cc » ('j') | no next file with comments »

Powered by Google App Engine
This is Rietveld 408576698