Fix sanitize address after scope
Test: pass Fixes: 156199719 Change-Id: Icaf1e6d379199eec4d664494819405acc013a003 Merged-In: Icaf1e6d379199eec4d664494819405acc013a003
This commit is contained in:
parent
ad17ebe23b
commit
c12c576999
1 changed files with 1 additions and 1 deletions
|
@ -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;
|
||||
};
|
||||
|
|
Loading…
Reference in a new issue