Nearby internal: fix for Android compile

PiperOrigin-RevId: 469337263
This commit is contained in:
Anay Wadhera
2022-08-22 18:35:56 -07:00
committed by Copybara-Service
parent 5b7bb37d41
commit 9dc4b83ca0
+1 -1
View File
@@ -56,7 +56,7 @@ constexpr absl::string_view kServiceIDA{
class BlePeripheralStub : public api::ble_v2::BlePeripheral {
public:
explicit BlePeripheralStub(absl::string_view mac_address) {
mac_address_ = mac_address;
mac_address_ = std::string(mac_address);
}
std::string GetAddress() const override { return mac_address_; }