mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 07:06:11 -04:00
Nearby internal: fix for Android compile
PiperOrigin-RevId: 469337263
This commit is contained in:
committed by
Copybara-Service
parent
5b7bb37d41
commit
9dc4b83ca0
@@ -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_; }
|
||||
|
||||
Reference in New Issue
Block a user