From de7248492956791030ecd766e02e97a1f3a2c2de Mon Sep 17 00:00:00 2001 From: Peter Johnson Date: Wed, 1 Jan 2025 23:43:58 -0800 Subject: [PATCH] More cleanup --- wpinet/src/main/native/include/wpinet/HttpUtil.h | 2 +- wpinet/src/test/native/cpp/WebSocketTest.cpp | 2 +- 2 files changed, 2 insertions(+), 2 deletions(-) diff --git a/wpinet/src/main/native/include/wpinet/HttpUtil.h b/wpinet/src/main/native/include/wpinet/HttpUtil.h index c6c31a83db5..3dcb6b4b875 100644 --- a/wpinet/src/main/native/include/wpinet/HttpUtil.h +++ b/wpinet/src/main/native/include/wpinet/HttpUtil.h @@ -318,7 +318,7 @@ class HttpRequest { template HttpRequest(const HttpLocation& loc, const T& extraParams) : host{loc.host}, port{loc.port} { - SmallVector, 4> params; + std::vector> params; for (const auto& p : loc.params) { params.emplace_back(std::pair{GetFirst(p), GetSecond(p)}); } diff --git a/wpinet/src/test/native/cpp/WebSocketTest.cpp b/wpinet/src/test/native/cpp/WebSocketTest.cpp index fad6b3660b2..6d50f8f00b2 100644 --- a/wpinet/src/test/native/cpp/WebSocketTest.cpp +++ b/wpinet/src/test/native/cpp/WebSocketTest.cpp @@ -187,7 +187,7 @@ TEST_F(WebSocketTest, CreateClientExtraHeaders) { }); clientPipe->Connect(pipeName, [&]() { WebSocket::ClientOptions options; - SmallVector, 4> extraHeaders; + std::vector> extraHeaders; extraHeaders.emplace_back("Extra1", "Data1"); extraHeaders.emplace_back("Extra2", "Data2"); options.extraHeaders = extraHeaders;