From 47f2934cc509e420e5617a96158e76829746b835 Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Tue, 19 Mar 2024 12:18:06 -0700 Subject: 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 --- redfish-core/include/utils/query_param.hpp | 5 ++++- 1 file changed, 4 insertions(+), 1 deletion(-) (limited to 'redfish-core/include/utils') 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 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 -- cgit v1.2.3