diff options
author | Carson Labrado <clabrado@google.com> | 2023-02-17 23:44:58 +0300 |
---|---|---|
committer | Ed Tanous <ed@tanous.net> | 2023-02-22 20:07:57 +0300 |
commit | 24dadc88603693f0c21ca5f9c6d5680e89523020 (patch) | |
tree | 5614829ce67bacb7e9e08068b98f583fa46eca5f /test/redfish-core | |
parent | b64c62627d7a7473a590dcd97b7b50c57d599786 (diff) | |
download | bmcweb-24dadc88603693f0c21ca5f9c6d5680e89523020.tar.xz |
Aggregation: Fix cppcheck errors
Corrections style complaints in the aggregator code.
Tested:
Jenkins output did not show any style complaints
Signed-off-by: Carson Labrado <clabrado@google.com>
Change-Id: I87426fcf2a48448a62152e0ad4a6c3aa54a7fc45
Diffstat (limited to 'test/redfish-core')
-rw-r--r-- | test/redfish-core/include/redfish_aggregator_test.cpp | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/test/redfish-core/include/redfish_aggregator_test.cpp b/test/redfish-core/include/redfish_aggregator_test.cpp index 4653a81527..838e5edf6b 100644 --- a/test/redfish-core/include/redfish_aggregator_test.cpp +++ b/test/redfish-core/include/redfish_aggregator_test.cpp @@ -381,7 +381,7 @@ TEST(processCollectionResponse, bothExist) bool foundLocal = false; bool foundSat = false; - for (auto& member : asyncResp->res.jsonValue["Members"]) + for (const auto& member : asyncResp->res.jsonValue["Members"]) { if (member["@odata.id"] == "/redfish/v1/Systems/system") { |