Minor refactoring.

This commit is contained in:
Vibhav Pant
2023-08-30 01:53:54 +05:30
parent 86cffae21f
commit cb83656eab
26 changed files with 392 additions and 305 deletions
@@ -25,9 +25,9 @@
namespace nearby {
namespace linux {
BluetoothDevice::BluetoothDevice(sdbus::IConnection &system_bus,
const sdbus::ObjectPath &device_object_path)
sdbus::ObjectPath device_object_path)
: ProxyInterfaces(system_bus, bluez::SERVICE_DEST,
std::string(device_object_path)) {
std::move(device_object_path)) {
registerProxy();
try {
last_known_name_ = Alias();