summaryrefslogtreecommitdiff
path: root/http/http2_connection.hpp
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 /http/http2_connection.hpp
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 'http/http2_connection.hpp')
-rw-r--r--http/http2_connection.hpp4
1 files changed, 2 insertions, 2 deletions
diff --git a/http/http2_connection.hpp b/http/http2_connection.hpp
index 7903ec93b1..749ac282ef 100644
--- a/http/http2_connection.hpp
+++ b/http/http2_connection.hpp
@@ -38,9 +38,9 @@ namespace crow
struct Http2StreamData
{
- Request req{};
+ Request req;
std::optional<bmcweb::HttpBody::reader> reqReader;
- Response res{};
+ Response res;
std::optional<bmcweb::HttpBody::writer> writer;
};