summaryrefslogtreecommitdiff
path: root/redfish-core/include/utils/json_utils.hpp
diff options
context:
space:
mode:
Diffstat (limited to 'redfish-core/include/utils/json_utils.hpp')
-rw-r--r--redfish-core/include/utils/json_utils.hpp6
1 files changed, 3 insertions, 3 deletions
diff --git a/redfish-core/include/utils/json_utils.hpp b/redfish-core/include/utils/json_utils.hpp
index f4e5385566..82f1fe2b64 100644
--- a/redfish-core/include/utils/json_utils.hpp
+++ b/redfish-core/include/utils/json_utils.hpp
@@ -452,9 +452,9 @@ inline bool readJsonHelper(nlohmann::json& jsonRequest, crow::Response& res,
std::remove_pointer_t<std::decay_t<decltype(val)>>;
return details::unpackValue<ContainedT>(
item.second, unpackSpec.key, res, *val);
- },
+ },
unpackSpec.value) &&
- result;
+ result;
unpackSpec.complete = true;
break;
@@ -476,7 +476,7 @@ inline bool readJsonHelper(nlohmann::json& jsonRequest, crow::Response& res,
using ContainedType =
std::remove_pointer_t<std::decay_t<decltype(val)>>;
return details::IsOptional<ContainedType>::value;
- },
+ },
perUnpack.value);
if (isOptional)
{