summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJackLivio <jack@livio.io>2018-09-24 16:04:34 -0400
committerGitHub <noreply@github.com>2018-09-24 16:04:34 -0400
commitd09eaaa9a5a775023db5cc0a11156ef0d3e6ed11 (patch)
tree25d9481a857b9aa6e8c752063f7b5cae321f7ad8
parentd25b2e5ad52b141c348cb5fd7c7c05c7093b0737 (diff)
downloadsdl_core-release/4.1_LTS.tar.gz
4.1LTS ReadDID Typo Fix (#2631)4.1.4LTSrelease/4.1_LTS
* ReadDID Typo Fix * Remove Reserved
-rw-r--r--src/components/policy/src/policy_table/enums.cc7
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/policy/src/policy_table/enums.cc b/src/components/policy/src/policy_table/enums.cc
index 77833dd17a..94956541c2 100644
--- a/src/components/policy/src/policy_table/enums.cc
+++ b/src/components/policy/src/policy_table/enums.cc
@@ -570,11 +570,6 @@ bool EnumFromJsonString(const std::string& literal, RequestType* result) {
}
bool EnumFromJsonString(const std::string& literal, FunctionID* result) {
- if ("RESERVE" == literal) {
- *result = RESERVED;
- return true;
- }
-
if ("RegisterAppInterface" == literal) {
*result = RegisterAppInterfaceID;
return true;
@@ -685,7 +680,7 @@ bool EnumFromJsonString(const std::string& literal, FunctionID* result) {
return true;
}
- if ("ReadD" == literal) {
+ if ("ReadDID" == literal) {
*result = ReadDIDID;
return true;
}