修改pods
This commit is contained in:
4
Pods/abseil/absl/strings/str_split.h
generated
4
Pods/abseil/absl/strings/str_split.h
generated
@@ -456,7 +456,7 @@ using EnableSplitIfString =
|
||||
// // Stores results in a std::set<std::string>, which also performs
|
||||
// // de-duplication and orders the elements in ascending order.
|
||||
// std::set<std::string> a = absl::StrSplit("b,a,c,a,b", ',');
|
||||
// // v[0] == "a", v[1] == "b", v[2] = "c"
|
||||
// // a[0] == "a", a[1] == "b", a[2] == "c"
|
||||
//
|
||||
// // `StrSplit()` can be used within a range-based for loop, in which case
|
||||
// // each element will be of type `absl::string_view`.
|
||||
@@ -544,7 +544,7 @@ StrSplit(strings_internal::ConvertibleToStringView text, Delimiter d,
|
||||
typename strings_internal::SelectDelimiter<Delimiter>::type;
|
||||
return strings_internal::Splitter<DelimiterType, Predicate,
|
||||
absl::string_view>(
|
||||
text.value(), DelimiterType(d), std::move(p));
|
||||
text.value(), DelimiterType(std::move(d)), std::move(p));
|
||||
}
|
||||
|
||||
template <typename Delimiter, typename Predicate, typename StringType,
|
||||
|
||||
Reference in New Issue
Block a user