Skip to content

Commit 33b6040

Browse files
hanidamlajmeta-codesync[bot]
authored andcommitted
HTTPHeaders remove ::rawSet
Summary: as title, this function isn't used anywhere and is redundant anyways Reviewed By: tlj77 Differential Revision: D95098232 fbshipit-source-id: da29b0e755cbc76f6b6ac2cb857d31fb4f3e07d0
1 parent 940b7a3 commit 33b6040

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

thrift/lib/cpp2/transport/http2/common/testutil/ChannelTestFixture.cpp

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -59,7 +59,7 @@ void ChannelTestFixture::sendAndReceiveStream(
5959
auto msg = std::make_unique<HTTPMessage>();
6060
auto& headers = msg->getHeaders();
6161
for (auto it = inputHeaders.begin(); it != inputHeaders.end(); ++it) {
62-
headers.rawSet(it->first, it->second);
62+
headers.set(it->first, it->second);
6363
}
6464
channel->onH2StreamBegin(std::move(msg));
6565
const char* data = payload.data();

0 commit comments

Comments
 (0)