diff options
Diffstat (limited to 'absl/strings')
-rw-r--r-- | absl/strings/str_split.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/absl/strings/str_split.h b/absl/strings/str_split.h index c7eb280c4113..485f24354d1a 100644 --- a/absl/strings/str_split.h +++ b/absl/strings/str_split.h @@ -96,9 +96,9 @@ namespace absl { // absl::string_view Find(absl::string_view text, size_t pos) { // auto found = text.find(c_, pos); // if (found == absl::string_view::npos) -// return absl::string_view(text.end(), 0); +// return text.substr(text.size()); // -// return absl::string_view(text, found, 1); +// return text.substr(found, 1); // } // }; |