diff options
Diffstat (limited to 'src/components/application_manager/src/resumption/resume_ctrl.cc')
-rw-r--r-- | src/components/application_manager/src/resumption/resume_ctrl.cc | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/resumption/resume_ctrl.cc b/src/components/application_manager/src/resumption/resume_ctrl.cc index 6618b02962..86a778873e 100644 --- a/src/components/application_manager/src/resumption/resume_ctrl.cc +++ b/src/components/application_manager/src/resumption/resume_ctrl.cc @@ -293,7 +293,7 @@ bool ResumeCtrl::StartResumption(ApplicationSharedPtr application, MessageHelper::GetDeviceMacAddressForHandle(application->device()), saved_app); if (result) { - const std::string saved_hash = saved_app[strings::hash_id].asString(); + const std::string& saved_hash = saved_app[strings::hash_id].asString(); result = saved_hash == hash ? RestoreApplicationData(application) : false; application->UpdateHash(); AddToResumptionTimerQueue(application->app_id()); |