diff options
Diffstat (limited to 'device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc')
-rw-r--r-- | device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc | 4 |
1 files changed, 3 insertions, 1 deletions
diff --git a/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc index 1089501..905a3af 100644 --- a/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc +++ b/device/bluetooth/dbus/fake_bluetooth_profile_service_provider.cc @@ -4,6 +4,8 @@ #include "device/bluetooth/dbus/fake_bluetooth_profile_service_provider.h" +#include <utility> + #include "device/bluetooth/dbus/bluez_dbus_manager.h" #include "device/bluetooth/dbus/fake_bluetooth_profile_manager_client.h" @@ -42,7 +44,7 @@ void FakeBluetoothProfileServiceProvider::NewConnection( const Delegate::ConfirmationCallback& callback) { VLOG(1) << object_path_.value() << ": NewConnection for " << device_path.value(); - delegate_->NewConnection(device_path, fd.Pass(), options, callback); + delegate_->NewConnection(device_path, std::move(fd), options, callback); } void FakeBluetoothProfileServiceProvider::RequestDisconnection( |