Skip to content

Commit

Permalink
Explicitly convert absl::string_view to std::string. (#6687)
Browse files Browse the repository at this point in the history
Signed-off-by: Andres Guedez <aguedez@google.com>
  • Loading branch information
AndresGuedez authored and mattklein123 committed Apr 23, 2019
1 parent 216bdc6 commit bc6780c
Showing 1 changed file with 1 addition and 1 deletion.
Original file line number Diff line number Diff line change
Expand Up @@ -39,7 +39,7 @@ struct SuccessResponse {
if (context->matchers_->matches(header.key().getStringView())) {
context->response_->headers_to_add.emplace_back(
Http::LowerCaseString{std::string(header.key().getStringView())},
header.value().getStringView());
std::string(header.value().getStringView()));
}
return Http::HeaderMap::Iterate::Continue;
},
Expand Down

0 comments on commit bc6780c

Please sign in to comment.