Delete rtc::join

Define a local function in the only place where it is used, for calling
SSL_set1_curves_list.

Bug: webrtc:6424
Change-Id: I7b9c372aaed15dbc88ced55652f5afd93db55e49
Reviewed-on: https://webrtc-review.googlesource.com/c/src/+/261313
Reviewed-by: Mirko Bonadei <mbonadei@webrtc.org>
Commit-Queue: Niels Moller <nisse@webrtc.org>
Cr-Commit-Position: refs/heads/main@{#36853}
This commit is contained in:
Niels Möller
2022-05-11 15:02:55 +02:00
committed by WebRTC LUCI CQ
parent 9e5aeb9d92
commit 9aa46c6572
5 changed files with 42 additions and 28 deletions

View File

@ -43,10 +43,6 @@ size_t hex_decode_with_delimiter(ArrayView<char> buffer,
absl::string_view source,
char delimiter);
// Joins the source vector of strings into a single string, with each
// field in source being separated by delimiter. No trailing delimiter is added.
std::string join(const std::vector<std::string>& source, char delimiter);
// Splits the source string into multiple fields separated by delimiter,
// with duplicates of delimiter creating empty fields. Empty input produces a
// single, empty, field.