diff options
Diffstat (limited to 'src/components/policy/policy_external/src/policy_table')
-rw-r--r-- | src/components/policy/policy_external/src/policy_table/enums.cc | 7 |
1 files changed, 1 insertions, 6 deletions
diff --git a/src/components/policy/policy_external/src/policy_table/enums.cc b/src/components/policy/policy_external/src/policy_table/enums.cc index 6410cb79de..27db505e3f 100644 --- a/src/components/policy/policy_external/src/policy_table/enums.cc +++ b/src/components/policy/policy_external/src/policy_table/enums.cc @@ -841,11 +841,6 @@ bool EnumFromJsonString(const std::string& literal, ModuleType* result) { } bool EnumFromJsonString(const std::string& literal, FunctionID* result) { - if ("RESERVE" == literal) { - *result = RESERVED; - return true; - } - if ("RegisterAppInterface" == literal) { *result = RegisterAppInterfaceID; return true; @@ -956,7 +951,7 @@ bool EnumFromJsonString(const std::string& literal, FunctionID* result) { return true; } - if ("ReadD" == literal) { + if ("ReadDID" == literal) { *result = ReadDIDID; return true; } |