| Index: device/bluetooth/test/mock_bluetooth_adapter.cc
|
| diff --git a/device/bluetooth/test/mock_bluetooth_adapter.cc b/device/bluetooth/test/mock_bluetooth_adapter.cc
|
| index 1d0ec24294943335e3483d0fd649b9f4b82402f4..c235f87d832d5da940c302fef4917a074b451680 100644
|
| --- a/device/bluetooth/test/mock_bluetooth_adapter.cc
|
| +++ b/device/bluetooth/test/mock_bluetooth_adapter.cc
|
| @@ -68,7 +68,7 @@ void MockBluetoothAdapter::AddMockDevice(
|
|
|
| BluetoothAdapter::ConstDeviceList MockBluetoothAdapter::GetConstMockDevices() {
|
| BluetoothAdapter::ConstDeviceList devices;
|
| - for (auto& it : mock_devices_) {
|
| + for (auto* it : mock_devices_) {
|
| devices.push_back(it);
|
| }
|
| return devices;
|
| @@ -76,7 +76,7 @@ BluetoothAdapter::ConstDeviceList MockBluetoothAdapter::GetConstMockDevices() {
|
|
|
| BluetoothAdapter::DeviceList MockBluetoothAdapter::GetMockDevices() {
|
| BluetoothAdapter::DeviceList devices;
|
| - for (auto& it : mock_devices_) {
|
| + for (auto* it : mock_devices_) {
|
| devices.push_back(it);
|
| }
|
| return devices;
|
|
|