summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorMaksym Ked (GitHub) <mked@luxoft.com>2018-08-17 13:12:35 +0300
committerMaksym Ked (GitHub) <mked@luxoft.com>2018-09-03 16:04:09 +0300
commit957cd288dfcbe8672c11084c892be52ba63ecab3 (patch)
tree35551bdfdd73612abb395653702db73ada3a1bbe
parenta00b139303634d3bd47176324c87fd52e072f878 (diff)
downloadsdl_core-957cd288dfcbe8672c11084c892be52ba63ecab3.tar.gz
Fixes as per comments
- changed typed declaration to auto
-rw-r--r--src/components/application_manager/src/message_helper/message_helper.cc2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/components/application_manager/src/message_helper/message_helper.cc b/src/components/application_manager/src/message_helper/message_helper.cc
index 9e3b23552a..b5908e821a 100644
--- a/src/components/application_manager/src/message_helper/message_helper.cc
+++ b/src/components/application_manager/src/message_helper/message_helper.cc
@@ -2249,7 +2249,7 @@ bool MessageHelper::SendUnsubscribedWayPoints(ApplicationManager& app_mngr) {
smart_objects::SmartObjectSPtr
MessageHelper::CreateSubscribeWayPointsMessageToHMI(
const uint32_t correlation_id) {
- const smart_objects::SmartObjectSPtr msg =
+ auto msg =
CreateMessageForHMI(hmi_apis::messageType::request, correlation_id);
(*msg)[strings::params][strings::function_id] =
hmi_apis::FunctionID::Navigation_SubscribeWayPoints;