mirror of
https://github.com/Evolution-X/hardware_interfaces
synced 2026-02-01 11:36:00 +00:00
Fix sanitize address after scope
Test: pass Fixes: 156199719 Change-Id: Icaf1e6d379199eec4d664494819405acc013a003
This commit is contained in:
@@ -55,7 +55,7 @@ class HalHealthLoop : public HealthLoop {
|
||||
void set_charger_online(const HealthInfo& health_info);
|
||||
|
||||
private:
|
||||
const std::string& instance_name_;
|
||||
std::string instance_name_;
|
||||
sp<IHealth> service_;
|
||||
bool charger_online_ = false;
|
||||
};
|
||||
|
||||
Reference in New Issue
Block a user