From a93163aa22c5c965d7f4af4bd7c1a19ecfb304cc Mon Sep 17 00:00:00 2001 From: Ed Tanous Date: Mon, 25 Mar 2024 11:20:18 -0700 Subject: Rename http2 unpacker These classes accidentally overlapped in naming with the nghttp2 classes. This is because this class, unlike most nghttp2 classes doesn't end in _ptr for a type. This changes the class name to add a _ex to differentiate the two classes, and avoid a warning in clang. Tested: Unit tests pass. Code only used in unit test. Change-Id: I91a6982264df69bc65166ab38feddc21f72cd223 Signed-off-by: Ed Tanous --- test/http/http2_connection_test.cpp | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'test') diff --git a/test/http/http2_connection_test.cpp b/test/http/http2_connection_test.cpp index 72f985c761..7d6572cb1c 100644 --- a/test/http/http2_connection_test.cpp +++ b/test/http/http2_connection_test.cpp @@ -51,7 +51,7 @@ std::string getDateStr() void unpackHeaders(std::string_view dataField, std::vector>& headers) { - nghttp2_hd_inflater inflater; + nghttp2_hd_inflater_ex inflater; while (!dataField.empty()) { -- cgit v1.2.3