summaryrefslogtreecommitdiffstats
path: root/device/bluetooth/bluetooth_device_win.cc
diff options
context:
space:
mode:
Diffstat (limited to 'device/bluetooth/bluetooth_device_win.cc')
-rw-r--r--device/bluetooth/bluetooth_device_win.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/device/bluetooth/bluetooth_device_win.cc b/device/bluetooth/bluetooth_device_win.cc
index 310aa9d..561b5a7 100644
--- a/device/bluetooth/bluetooth_device_win.cc
+++ b/device/bluetooth/bluetooth_device_win.cc
@@ -357,7 +357,7 @@ void BluetoothDeviceWin::UpdateGattServices(
}
}
for (const auto& service : to_be_removed_services) {
- gatt_services_.erase(service);
+ gatt_services_.take_and_erase(service);
}
// Update previously discovered services.
for (auto gatt_service : gatt_services_) {