mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-14 14:46:12 -04:00
Explicitly convert absl::string_view to std::string
PiperOrigin-RevId: 492260785
This commit is contained in:
committed by
Copybara-Service
parent
3aa109a29b
commit
40e391b33d
@@ -122,7 +122,7 @@ void ScanManager::NotifyFoundBle(ScanSessionId id, BleAdvertisementData data,
|
||||
// TODO(b/256913915): Provide more information in PresenceDevice once
|
||||
// fully implemented
|
||||
internal::DeviceMetadata metadata;
|
||||
metadata.set_bluetooth_mac_address(remote_address);
|
||||
metadata.set_bluetooth_mac_address(std::string(remote_address));
|
||||
it->second.callback.on_discovered_cb(PresenceDevice(metadata));
|
||||
}
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user