Index: device/bluetooth/test/mock_bluetooth_gatt_service.cc |
diff --git a/device/bluetooth/test/mock_bluetooth_gatt_service.cc b/device/bluetooth/test/mock_bluetooth_gatt_service.cc |
index 93cbfc573e8391dc1adb836080036311454e8f9c..148208aeee4dc7cd1ee9c096d9d8d8d24d2e4b4b 100644 |
--- a/device/bluetooth/test/mock_bluetooth_gatt_service.cc |
+++ b/device/bluetooth/test/mock_bluetooth_gatt_service.cc |
@@ -4,6 +4,8 @@ |
#include "device/bluetooth/test/mock_bluetooth_gatt_service.h" |
+#include <utility> |
+ |
#include "device/bluetooth/test/mock_bluetooth_device.h" |
using testing::Return; |
@@ -35,7 +37,7 @@ MockBluetoothGattService::~MockBluetoothGattService() { |
void MockBluetoothGattService::AddMockCharacteristic( |
scoped_ptr<MockBluetoothGattCharacteristic> mock_characteristic) { |
- mock_characteristics_.push_back(mock_characteristic.Pass()); |
+ mock_characteristics_.push_back(std::move(mock_characteristic)); |
} |
std::vector<BluetoothGattCharacteristic*> |