summaryrefslogtreecommitdiff
path: root/src/components/application_manager/src/resumption/resumption_data.cc
diff options
context:
space:
mode:
Diffstat (limited to 'src/components/application_manager/src/resumption/resumption_data.cc')
-rw-r--r--src/components/application_manager/src/resumption/resumption_data.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/components/application_manager/src/resumption/resumption_data.cc b/src/components/application_manager/src/resumption/resumption_data.cc
index c72231d334..50b95dba42 100644
--- a/src/components/application_manager/src/resumption/resumption_data.cc
+++ b/src/components/application_manager/src/resumption/resumption_data.cc
@@ -250,10 +250,10 @@ smart_objects::SmartObject ResumptionData::CreateWindowInfoSO(
}
smart_objects::SmartObject ResumptionData::PointerToSmartObj(
- const smart_objects::SmartObject* ptr) const {
+ const smart_objects::SmartObjectSPtr ptr) const {
SDL_LOG_AUTO_TRACE();
smart_objects::SmartObject temp;
- if (ptr != NULL) {
+ if (ptr) {
temp = *ptr;
}
return temp;