diff options
Diffstat (limited to 'redfish-core')
-rw-r--r-- | redfish-core/include/utils/json_utils.hpp | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/redfish-core/include/utils/json_utils.hpp b/redfish-core/include/utils/json_utils.hpp index c8af2d15db..0f4ba06a14 100644 --- a/redfish-core/include/utils/json_utils.hpp +++ b/redfish-core/include/utils/json_utils.hpp @@ -542,7 +542,8 @@ bool readJson(nlohmann::json& jsonRequest, crow::Response& res, messages::unrecognizedRequestBody(res); return false; } - return readJsonObject(*obj, res, key, first, in...); + return readJsonObject(*obj, res, key, std::forward<FirstType>(first), + std::forward<UnpackTypes&&>(in)...); } inline std::optional<nlohmann::json::object_t> |