| Index: device/usb/usb_device.cc
|
| diff --git a/device/usb/usb_device.cc b/device/usb/usb_device.cc
|
| index 1e22ea0d00a97cae18990a350224ea00499f65d7..06c4f7c14ebfdbd6d722f4824f5cf0f801888156 100644
|
| --- a/device/usb/usb_device.cc
|
| +++ b/device/usb/usb_device.cc
|
| @@ -80,7 +80,7 @@ void UsbDevice::OnDisconnect() {
|
| // Swap out the handle list as HandleClosed() will try to modify it.
|
| std::list<UsbDeviceHandle*> handles;
|
| handles.swap(handles_);
|
| - for (auto handle : handles_)
|
| + for (auto* handle : handles_)
|
| handle->Close();
|
| }
|
|
|
|
|