More uses of string_view

This commit is contained in:
Henrik Rydgård committed 2023-11-13 23:36:34 +01:00
1 parent d0ee5fc308
commit 19eeaef2ea
11 files changed
+53 -45

No files matched your search

+1 -1
View File
@@ -8,7 +8,7 @@ bool AndroidContentURI::Parse(std::string_view path) {
std::string_view components = path.substr(strlen(prefix));
std::vector<std::string> parts;
std::vector<std::string_view> parts;
SplitString(components, '/', parts);
if (parts.size() == 3) {
// Single file URI.