mirror of
https://github.com/kidfromjupiter/nearby.git
synced 2026-09-15 15:16:12 -04:00
Adding default value to fix the msan issue in the types test
PiperOrigin-RevId: 485083607
This commit is contained in:
committed by
Copybara-Service
parent
b6b692b0ea
commit
5d12e6ffa0
@@ -121,11 +121,11 @@ struct ScanRequest {
|
||||
scan_filters;
|
||||
|
||||
// Whether to use BLE in the scan.
|
||||
bool use_ble;
|
||||
bool use_ble = false;
|
||||
|
||||
ScanType scan_type;
|
||||
PowerMode power_mode;
|
||||
bool scan_only_when_screen_on;
|
||||
ScanType scan_type = ScanType::kUnspecifiedScan;
|
||||
PowerMode power_mode = PowerMode::kNoPower;
|
||||
bool scan_only_when_screen_on = false;
|
||||
};
|
||||
|
||||
inline bool operator==(const ScanRequest& a, const ScanRequest& b) {
|
||||
|
||||
Reference in New Issue
Block a user