summaryrefslogtreecommitdiff
path: root/src/components
diff options
context:
space:
mode:
authorBrandonHe <lovinghesl@hotmail.com>2016-01-07 03:55:13 -0500
committerBrandonHe <lovinghesl@hotmail.com>2016-03-29 15:39:42 +0800
commit11d1bc4216663a1c2bdf08009ff753a134ea0cf8 (patch)
tree65d852d2a5585736b49ffa94d0221dab4f12f87f /src/components
parentdabc030bb83876fa10444dbd9e307a63f99c0cd3 (diff)
downloadsdl_core-11d1bc4216663a1c2bdf08009ff753a134ea0cf8.tar.gz
change application list from iterator to const iterator
Diffstat (limited to 'src/components')
-rw-r--r--src/components/application_manager/src/commands/hmi/on_tts_language_change_notification.cc2
-rw-r--r--src/components/application_manager/src/commands/hmi/on_ui_language_change_notification.cc2
-rw-r--r--src/components/application_manager/src/commands/hmi/on_vr_language_change_notification.cc2
-rw-r--r--src/components/application_manager/src/commands/mobile/on_hmi_status_notification_from_mobile.cc2
-rw-r--r--src/components/application_manager/src/commands/mobile/on_keyboard_input_notification.cc2
5 files changed, 5 insertions, 5 deletions
diff --git a/src/components/application_manager/src/commands/hmi/on_tts_language_change_notification.cc b/src/components/application_manager/src/commands/hmi/on_tts_language_change_notification.cc
index 0576b6d020..de878ae137 100644
--- a/src/components/application_manager/src/commands/hmi/on_tts_language_change_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_tts_language_change_notification.cc
@@ -70,7 +70,7 @@ void OnTTSLanguageChangeNotification::Run() {
ApplicationManagerImpl::ApplicationListAccessor accessor;
- ApplicationSetIt it = accessor.begin();
+ ApplicationSetConstIt it = accessor.begin();
for (; accessor.end() != it;) {
ApplicationSharedPtr app = *it++;
(*message_)[strings::params][strings::connection_key] = app->app_id();
diff --git a/src/components/application_manager/src/commands/hmi/on_ui_language_change_notification.cc b/src/components/application_manager/src/commands/hmi/on_ui_language_change_notification.cc
index 19b1212b04..73d710d81a 100644
--- a/src/components/application_manager/src/commands/hmi/on_ui_language_change_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_ui_language_change_notification.cc
@@ -67,7 +67,7 @@ void OnUILanguageChangeNotification::Run() {
ApplicationManagerImpl::ApplicationListAccessor accessor;
- ApplicationSetIt it = accessor.begin();
+ ApplicationSetConstIt it = accessor.begin();
for (; accessor.end() != it;) {
ApplicationSharedPtr app = *it++;
(*message_)[strings::params][strings::connection_key] = app->app_id();
diff --git a/src/components/application_manager/src/commands/hmi/on_vr_language_change_notification.cc b/src/components/application_manager/src/commands/hmi/on_vr_language_change_notification.cc
index a0e8277b5b..5c35f7e753 100644
--- a/src/components/application_manager/src/commands/hmi/on_vr_language_change_notification.cc
+++ b/src/components/application_manager/src/commands/hmi/on_vr_language_change_notification.cc
@@ -64,7 +64,7 @@ void OnVRLanguageChangeNotification::Run() {
ApplicationManagerImpl::ApplicationListAccessor accessor;
- ApplicationSetIt it = accessor.begin();
+ ApplicationSetConstIt it = accessor.begin();
for (; accessor.end() != it;) {
ApplicationSharedPtr app = *it++;
(*message_)[strings::params][strings::connection_key] = app->app_id();
diff --git a/src/components/application_manager/src/commands/mobile/on_hmi_status_notification_from_mobile.cc b/src/components/application_manager/src/commands/mobile/on_hmi_status_notification_from_mobile.cc
index d9f4d59567..3df1fbccb4 100644
--- a/src/components/application_manager/src/commands/mobile/on_hmi_status_notification_from_mobile.cc
+++ b/src/components/application_manager/src/commands/mobile/on_hmi_status_notification_from_mobile.cc
@@ -98,7 +98,7 @@ void OnHMIStatusNotificationFromMobile::Run() {
ApplicationManagerImpl::ApplicationListAccessor accessor;
bool is_another_foreground_sdl4_app = false;
- ApplicationSetIt it = accessor.begin();
+ ApplicationSetConstIt it = accessor.begin();
for (; accessor.end() != it; ++it) {
if (connection_key() != (*it)->app_id() &&
ProtocolVersion::kV4 == (*it)->protocol_version() &&
diff --git a/src/components/application_manager/src/commands/mobile/on_keyboard_input_notification.cc b/src/components/application_manager/src/commands/mobile/on_keyboard_input_notification.cc
index 3950efb8fe..ed80335069 100644
--- a/src/components/application_manager/src/commands/mobile/on_keyboard_input_notification.cc
+++ b/src/components/application_manager/src/commands/mobile/on_keyboard_input_notification.cc
@@ -54,7 +54,7 @@ void OnKeyBoardInputNotification::Run() {
ApplicationSharedPtr app_to_notify;
ApplicationManagerImpl::ApplicationListAccessor accessor;
- ApplicationSetIt it = accessor.begin();
+ ApplicationSetConstIt it = accessor.begin();
for (; accessor.end() != it; ++it) {
// if there is app with active perform interaction use it for notification
ApplicationSharedPtr app = *it;