summaryrefslogtreecommitdiff
path: root/test
diff options
context:
space:
mode:
authorEd Tanous <ed@tanous.net>2024-03-25 21:20:18 +0300
committerEd Tanous <ed@tanous.net>2024-03-28 00:46:58 +0300
commita93163aa22c5c965d7f4af4bd7c1a19ecfb304cc (patch)
tree6a42e1cf3c2835d31723e59f3044b45b06bbc1e8 /test
parent5a785c8a65e91f5c77e68bb72269f58c1d07b683 (diff)
downloadbmcweb-a93163aa22c5c965d7f4af4bd7c1a19ecfb304cc.tar.xz
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 <ed@tanous.net>
Diffstat (limited to 'test')
-rw-r--r--test/http/http2_connection_test.cpp2
1 files changed, 1 insertions, 1 deletions
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<std::pair<std::string, std::string>>& headers)
{
- nghttp2_hd_inflater inflater;
+ nghttp2_hd_inflater_ex inflater;
while (!dataField.empty())
{