summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJacob Keeler <jacob.keeler@livioradio.com>2016-08-02 13:15:06 -0400
committerJacob Keeler <jacob.keeler@livioradio.com>2016-08-02 13:15:06 -0400
commite5c743af21e8d8a3274c9bd6459141e9e780e0f3 (patch)
treeeb2a8bedf531363b8fa27f15413b05bbc93a8182
parent3d24ec1f88f9e51fe57fb66d1dd8e683042af2e7 (diff)
downloadsdl_core-hotfix/apphmitype_warning.tar.gz
Fixed improper variable namehotfix/apphmitype_warning
-rw-r--r--src/components/application_manager/src/commands/mobile/register_app_interface_request.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc b/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
index 84a3ed4cc1..d4ee1f268e 100644
--- a/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
+++ b/src/components/application_manager/src/commands/mobile/register_app_interface_request.cc
@@ -74,7 +74,7 @@ mobile_apis::AppHMIType::eType StringToAppHMIType(const std::string &str) {
}
std::string AppHMITypeToString(mobile_apis::AppHMIType::eType type) {
- const std::map<mobile_apis::AppHMIType::eType, std::string> appHMITypeMap = {
+ const std::map<mobile_apis::AppHMIType::eType, std::string> app_hmi_type_map = {
{mobile_apis::AppHMIType::DEFAULT, "DEFAULT"},
{mobile_apis::AppHMIType::COMMUNICATION, "COMMUNICATION"},
{mobile_apis::AppHMIType::MEDIA, "MEDIA"},
@@ -88,9 +88,9 @@ std::string AppHMITypeToString(mobile_apis::AppHMIType::eType type) {
};
std::map<mobile_apis::AppHMIType::eType, std::string>::const_iterator iter =
- appHMITypeMap.find(type);
-
- return appHMITypeMap.end() == iter ? iter->second : std::string("");
+ app_hmi_type_map.find(type);
+
+ return app_hmi_type_map.end() == iter ? iter->second : std::string("");
}
struct AppHMITypeInserter {