summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorigapchuck <igapchuck@luxoft.com>2018-11-22 14:43:48 +0200
committerigapchuck <igapchuck@luxoft.com>2018-11-22 14:43:48 +0200
commitc03d2e5028617d584edb7e8ca84aa2fc3b1139f2 (patch)
tree109aabde392fde238ab202e5176a22bc3b5ec188
parente8052e722dce1dd95ee7c7c69523cb183c58f4fc (diff)
downloadsdl_core-fix/fix_SDL_not_responses_REJECTED_to_PerfromInteraction.tar.gz
-rw-r--r--src/components/application_manager/src/application_data_impl.cc5
1 files changed, 2 insertions, 3 deletions
diff --git a/src/components/application_manager/src/application_data_impl.cc b/src/components/application_manager/src/application_data_impl.cc
index 00f13459eb..bc35b0211b 100644
--- a/src/components/application_manager/src/application_data_impl.cc
+++ b/src/components/application_manager/src/application_data_impl.cc
@@ -574,8 +574,7 @@ void DynamicApplicationDataImpl::RemoveChoiceSet(uint32_t choice_set_id) {
choice_set_map_.erase(choice_set_id);
}
- ChoiceSetAllowedMap::iterator choise_id_it =
- choice_set_allowed_map_.find(choice_set_id);
+ auto choise_id_it = choice_set_allowed_map_.find(choice_set_id);
if (choice_set_allowed_map_.end() == choise_id_it) {
LOG4CXX_WARN(logger_,
"Choice set with id " << choice_set_id << " is not found");
@@ -644,7 +643,7 @@ void DynamicApplicationDataImpl::set_choice_set_allow_mode(
bool DynamicApplicationDataImpl::is_choice_set_allowed(
const uint32_t choice_set_id) const {
LOG4CXX_DEBUG(logger_, "Choice setID: " << choice_set_id);
- auto it = choice_set_allowed_map_.find(choice_set_id);
+ const auto it = choice_set_allowed_map_.find(choice_set_id);
if (choice_set_allowed_map_.end() == it) {
LOG4CXX_ERROR(logger_,
"Choice set with id " << choice_set_id << " is not found.");