summaryrefslogtreecommitdiff
path: root/redfish-core/include
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-03-19 22:18:06 +0300
committerEd Tanous <ed@tanous.net>2024-03-25 21:29:19 +0300
commit47f2934cc509e420e5617a96158e76829746b835 (patch)
treedd73fdb8eb071886f4de28a0a911972d6ce4940f /redfish-core/include
parent0501696e3663eafb3e497120b85f0f0a8194a97b (diff)
downloadbmcweb-47f2934cc509e420e5617a96158e76829746b835.tar.xz
Fix redundant init issues
clang-tidy-18 must've fixed their checking for these in headers. Resolve as the robot commands. Tested: Noop changes made by tidy. Code compiles. Change-Id: I1de7686c597deffb0df91c30dae1a29f9ba7900e Signed-off-by: Ed Tanous <ed@tanous.net>
Diffstat (limited to 'redfish-core/include')
-rw-r--r--redfish-core/include/utils/query_param.hpp5
1 files changed, 4 insertions, 1 deletions
diff --git a/redfish-core/include/utils/query_param.hpp b/redfish-core/include/utils/query_param.hpp
index 881b09052f..fa2b4dae60 100644
--- a/redfish-core/include/utils/query_param.hpp
+++ b/redfish-core/include/utils/query_param.hpp
@@ -180,7 +180,10 @@ struct Query
std::optional<size_t> top = std::nullopt;
// Select
- SelectTrie selectTrie = {};
+ // Unclear how to make this use structured initialization without this.
+ // Might be a tidy bug? Ignore for now
+ // NOLINTNEXTLINE(readability-redundant-member-init)
+ SelectTrie selectTrie{};
};
// The struct defines how resource handlers in redfish-core/lib/ can handle